summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2009-02-07 09:35:16 +0000
committerKostya Shishkov <kostya.shishkov@gmail.com>2009-02-07 09:35:16 +0000
commit186f155e1c97c21573b5c707f94a6fd56933aa64 (patch)
tree7c169d5cb4d08b13b507928a300349f8171edd24 /libavcodec
parent85d0d114d0bc47a069859bcc3995d2d9fdbdfa61 (diff)
Add decoder flush after seeking for RV3/4 decoders
Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/rv30.c1
-rw-r--r--libavcodec/rv40.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/rv30.c b/libavcodec/rv30.c
index a18780cc9e..138f3e30f4 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 5c9196cd79..fdab13cd63 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"),
};