diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-09-13 17:00:41 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-09-21 09:57:32 +0200 |
commit | 95a06eb4d59c5ab0ce53b0cc9d10d1b26be939e2 (patch) | |
tree | 72ee6a36582f4653d51ce7a5240640b8b9d53594 /libavcodec/h264.c | |
parent | 35a68558688fb6fa62261008e93bd16544fbd37e (diff) | |
download | ffmpeg-95a06eb4d59c5ab0ce53b0cc9d10d1b26be939e2.tar.gz |
Fix assert() calls that need updates after FF_COMMON_FRAME macro elimination.
This fixes build failures with -DDEBUG in CPPFLAGS.
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index d0474489d9..9889224abd 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -2722,7 +2722,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ if (s0->first_field) { assert(s0->current_picture_ptr); assert(s0->current_picture_ptr->f.data[0]); - assert(s0->current_picture_ptr->reference != DELAYED_PIC_REF); + assert(s0->current_picture_ptr->f.reference != DELAYED_PIC_REF); /* figure out if we have a complementary field pair */ if (!FIELD_PICTURE || s->picture_structure == last_pic_structure) { |