1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

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

Originally committed as revision 16434 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Jason Garrett-Glaser 2009-01-05 08:46:59 +00:00 committed by Carl Eugen Hoyos
parent f2c214a1ec
commit 26ef65daf3

View File

@ -7646,7 +7646,7 @@ static int decode_frame(AVCodecContext *avctx,
* 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);