]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/rv40.c
Add channel layout support to the AC-3 encoder.
[ffmpeg] / libavcodec / rv40.c
index 083de1b14eb326046eeb92c428e1b3720060e9f4..8e1a47095433439dc2ae9b506eb1ab556c053b39 100644 (file)
@@ -20,7 +20,7 @@
  */
 
 /**
- * @file rv40.c
+ * @file libavcodec/rv40.c
  * RV40 decoder
  */
 
@@ -40,7 +40,7 @@ static VLC ptype_vlc[NUM_PTYPE_VLCS], btype_vlc[NUM_BTYPE_VLCS];
 /**
  * Initialize all tables.
  */
-static av_cold void rv40_init_tables()
+static av_cold void rv40_init_tables(void)
 {
     int i;
 
@@ -654,5 +654,7 @@ AVCodec rv40_decoder = {
     ff_rv34_decode_end,
     ff_rv34_decode_frame,
     CODEC_CAP_DR1 | CODEC_CAP_DELAY,
+    .flush = ff_mpeg_flush,
     .long_name = NULL_IF_CONFIG_SMALL("RealVideo 4.0"),
+    .pix_fmts= ff_pixfmt_list_420,
 };