From 95a06eb4d59c5ab0ce53b0cc9d10d1b26be939e2 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Tue, 13 Sep 2011 17:00:41 +0200 Subject: Fix assert() calls that need updates after FF_COMMON_FRAME macro elimination. This fixes build failures with -DDEBUG in CPPFLAGS. --- libavcodec/h261dec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/h261dec.c') 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); -- cgit v1.2.3