diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-04-04 18:31:00 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-04-04 18:34:36 +0200 |
commit | 60e7d2d7b9eb55b65f6cae3135dc71c75777f03f (patch) | |
tree | a773f15722b223e2922d792855d53c263787c73a /libavcodec/h264_mb.c | |
parent | 429de043202286a2b5bcc082cc02de860b734db2 (diff) | |
download | ffmpeg-60e7d2d7b9eb55b65f6cae3135dc71c75777f03f.tar.gz |
avcodec/h264_mb: assert that frame waiting code actually references 2 fields/1 frame
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264_mb.c')
-rw-r--r-- | libavcodec/h264_mb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264_mb.c b/libavcodec/h264_mb.c index 9036919a07..634d814493 100644 --- a/libavcodec/h264_mb.c +++ b/libavcodec/h264_mb.c @@ -176,6 +176,7 @@ static void await_references(const H264Context *h, H264SliceContext *sl) nrefs[list]--; if (!FIELD_PICTURE(h) && ref_field_picture) { // frame referencing two fields + av_assert2((ref_pic->parent->reference & 3) == 3); ff_thread_await_progress(&ref_pic->parent->tf, FFMIN((row >> 1) - !(row & 1), pic_height - 1), |