aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/h261dec.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-09-13 17:00:41 +0200
committerDiego Biurrun <diego@biurrun.de>2011-09-21 09:57:32 +0200
commit95a06eb4d59c5ab0ce53b0cc9d10d1b26be939e2 (patch)
tree72ee6a36582f4653d51ce7a5240640b8b9d53594 /libavcodec/h261dec.c
parent35a68558688fb6fa62261008e93bd16544fbd37e (diff)
downloadffmpeg-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/h261dec.c')
-rw-r--r--libavcodec/h261dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c
index 63a153f06d..00375ef4fe 100644
--- a/libavcodec/h261dec.c
+++ b/libavcodec/h261dec.c
@@ -620,8 +620,8 @@ retry:
}
MPV_frame_end(s);
-assert(s->current_picture.pict_type == s->current_picture_ptr->pict_type);
-assert(s->current_picture.pict_type == s->pict_type);
+assert(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type);
+assert(s->current_picture.f.pict_type == s->pict_type);
*pict= *(AVFrame*)s->current_picture_ptr;
ff_print_debug_info(s, pict);