X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=libavcodec%2Fh261dec.c;h=96ebb240273d04dd323430b88c46799799cbd48c;hb=e60779b18cefd49443bb237cc9fc68795b3b9dfc;hp=a526bc1c605b5cbf0a0f7f029c2b414eab96643f;hpb=2fd49019210a9fbe430b1b94ff7a2f98a6d0fed1;p=ffmpeg diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c index a526bc1c605..96ebb240273 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);