Add decoder flush after seeking for RV3/4 decoders
authorKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 7 Feb 2009 09:35:16 +0000 (09:35 +0000)
committerKostya Shishkov <kostya.shishkov@gmail.com>
Sat, 7 Feb 2009 09:35:16 +0000 (09:35 +0000)
Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/rv30.c
libavcodec/rv40.c

index a18780c..138f3e3 100644 (file)
@@ -276,5 +276,6 @@ AVCodec rv30_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 3.0"),
 };
index 5c9196c..fdab13c 100644 (file)
@@ -654,5 +654,6 @@ 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"),
 };