[FFmpeg-devel] [PATCH]Reenable error resilience for h264

Carl Eugen Hoyos cehoyos
Mon Jan 5 03:32:44 CET 2009


Hi!

I think I disabled error resilience for h264.

Sorry, Carl Eugen
-------------- next part --------------
Index: libavcodec/h264.c
===================================================================
--- libavcodec/h264.c	(revision 16431)
+++ libavcodec/h264.c	(working copy)
@@ -7646,7 +7646,7 @@
          * 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-devel mailing list