Mercurial > libavcodec.hg
comparison h264.c @ 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 | 2cc3cf7b09b1 |
comparison
equal
deleted
inserted
replaced
8524:e2d97d1449d4 | 8525:53f8d9be29ee |
---|---|
7644 * and a bad error table. Further, the error count goes to | 7644 * and a bad error table. Further, the error count goes to |
7645 * INT_MAX when called for bottom field, because mb_y is | 7645 * INT_MAX when called for bottom field, because mb_y is |
7646 * past end by one (callers fault) and resync_mb_y != 0 | 7646 * past end by one (callers fault) and resync_mb_y != 0 |
7647 * causes problems for the first MB line, too. | 7647 * causes problems for the first MB line, too. |
7648 */ | 7648 */ |
7649 if (!avctx->codec_id == CODEC_ID_H264_VDPAU && !FIELD_PICTURE) | 7649 if (avctx->codec_id != CODEC_ID_H264_VDPAU && !FIELD_PICTURE) |
7650 ff_er_frame_end(s); | 7650 ff_er_frame_end(s); |
7651 | 7651 |
7652 MPV_frame_end(s); | 7652 MPV_frame_end(s); |
7653 | 7653 |
7654 if (cur->field_poc[0]==INT_MAX || cur->field_poc[1]==INT_MAX) { | 7654 if (cur->field_poc[0]==INT_MAX || cur->field_poc[1]==INT_MAX) { |