[FFmpeg-cvslog] vc1dec: dont attempt error concealment on field pictures.

Michael Niedermayer git at videolan.org
Tue Jul 24 04:12:42 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Jul 24 04:05:18 2012 +0200| [697edcc12a0ab645f66378cee9549b80a40fe59c] | committer: Michael Niedermayer

vc1dec: dont attempt error concealment on field pictures.

This is not implemented and doesnt work.

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=697edcc12a0ab645f66378cee9549b80a40fe59c
---

 libavcodec/vc1dec.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c
index a0a97eb..3debe52 100644
--- a/libavcodec/vc1dec.c
+++ b/libavcodec/vc1dec.c
@@ -5638,7 +5638,8 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
 //      return -1;
         if(s->error_occurred && s->pict_type == AV_PICTURE_TYPE_B)
             goto err;
-        ff_er_frame_end(s);
+        if(!v->field_mode)
+            ff_er_frame_end(s);
     }
 
     ff_MPV_frame_end(s);



More information about the ffmpeg-cvslog mailing list