changeset 8753:64acd0cc269d libavcodec

Add decoder flush after seeking for RV3/4 decoders
author kostya
date Sat, 07 Feb 2009 09:35:16 +0000
parents 7fd1422a8703
children f471abd09fef
files rv30.c rv40.c
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/rv30.c	Fri Feb 06 23:54:50 2009 +0000
+++ b/rv30.c	Sat Feb 07 09:35:16 2009 +0000
@@ -276,5 +276,6 @@
     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"),
 };
--- a/rv40.c	Fri Feb 06 23:54:50 2009 +0000
+++ b/rv40.c	Sat Feb 07 09:35:16 2009 +0000
@@ -654,5 +654,6 @@
     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"),
 };