From 186f155e1c97c21573b5c707f94a6fd56933aa64 Mon Sep 17 00:00:00 2001
From: Kostya Shishkov <kostya.shishkov@gmail.com>
Date: Sat, 7 Feb 2009 09:35:16 +0000
Subject: Add decoder flush after seeking for RV3/4 decoders

Originally committed as revision 17030 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/rv40.c | 1 +
 1 file changed, 1 insertion(+)

(limited to 'libavcodec/rv40.c')

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"),
 };
-- 
cgit v1.2.3