From 186f155e1c97c21573b5c707f94a6fd56933aa64 Mon Sep 17 00:00:00 2001 From: Kostya Shishkov Date: Sat, 7 Feb 2009 09:35:16 +0000 Subject: [PATCH] Add decoder flush after seeking for RV3/4 decoders Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/rv30.c | 1 + libavcodec/rv40.c | 1 + 2 files changed, 2 insertions(+) diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c index a18780c..138f3e3 100644 --- a/libavcodec/rv30.c +++ b/libavcodec/rv30.c @@ -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"), }; diff --git a/libavcodec/rv40.c b/libavcodec/rv40.c index 5c9196c..fdab13c 100644 --- a/libavcodec/rv40.c +++ b/libavcodec/rv40.c @@ -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"), }; -- 2.7.4