]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Add decoder flush after seeking for RV3/4 decoders
authorkostya <kostya@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 7 Feb 2009 09:35:16 +0000 (09:35 +0000)
committerkostya <kostya@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Sat, 7 Feb 2009 09:35:16 +0000 (09:35 +0000)
git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17030 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

libavcodec/rv30.c
libavcodec/rv40.c

index a18780cc9e62171c8c68ad5a48936722a7e66687..138f3e30f4dfbdad207f668590ceb2aa9d9550a4 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 5c9196cd7964f86d119117a9c9ce8ad08f000772..fdab13cd639c94ec77f16014835a004200d355ed 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"),
 };