changeset 8525:53f8d9be29ee libavcodec

50l: Reenable error resilience for H264 (Patch by Dark Shikari).
author cehoyos
date Mon, 05 Jan 2009 08:46:59 +0000
parents e2d97d1449d4
children 4c851747ee74
files h264.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/h264.c	Mon Jan 05 00:48:44 2009 +0000
+++ b/h264.c	Mon Jan 05 08:46:59 2009 +0000
@@ -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);