[FFmpeg-cvslog] r16434 - trunk/libavcodec/h264.c

cehoyos subversion
Mon Jan 5 09:46:59 CET 2009


Author: cehoyos
Date: Mon Jan  5 09:46:59 2009
New Revision: 16434

Log:
50l: Reenable error resilience for H264 (Patch by Dark Shikari).

Modified:
   trunk/libavcodec/h264.c

Modified: trunk/libavcodec/h264.c
==============================================================================
--- trunk/libavcodec/h264.c	Mon Jan  5 01:48:44 2009	(r16433)
+++ trunk/libavcodec/h264.c	Mon Jan  5 09:46:59 2009	(r16434)
@@ -7646,7 +7646,7 @@ static int decode_frame(AVCodecContext *
          * past end by one (callers fault) and resync_mb_y != 0
          * causes problems for the first MB line, too.
          */
-        if (!avctx->codec_id == CODEC_ID_H264_VDPAU && !FIELD_PICTURE)
+        if (avctx->codec_id != CODEC_ID_H264_VDPAU && !FIELD_PICTURE)
             ff_er_frame_end(s);
 
         MPV_frame_end(s);




More information about the ffmpeg-cvslog mailing list