summaryrefslogtreecommitdiff
path: root/libavcodec/h263dec.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2011-08-03 17:31:11 -0700
committerAlex Converse <alex.converse@gmail.com>2011-08-03 17:56:47 -0700
commitad62507f325ae4e93690a581283eb54dcfd4fee0 (patch)
tree29482d1c6e89895812a66d828799227da78bad31 /libavcodec/h263dec.c
parentfed6c90b68fa00ad399e0b6d51c1e41d0d3730a0 (diff)
h263dec: Fix asserts broken by the elimination of FF_COMMON_FRAME.
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r--libavcodec/h263dec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c
index 7f3411b779..cba0c5a208 100644
--- a/libavcodec/h263dec.c
+++ b/libavcodec/h263dec.c
@@ -705,8 +705,8 @@ intrax8_decoded:
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);
if (s->pict_type == AV_PICTURE_TYPE_B || s->low_delay) {
*pict= *(AVFrame*)s->current_picture_ptr;
} else if (s->last_picture_ptr != NULL) {