Commit 43c60937 authored by Michael Niedermayer's avatar Michael Niedermayer

mpeg4videodec: use av_assert

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0abab003
...@@ -1179,7 +1179,7 @@ static int mpeg4_decode_mb(MpegEncContext *s, ...@@ -1179,7 +1179,7 @@ static int mpeg4_decode_mb(MpegEncContext *s,
static int8_t quant_tab[4] = { -1, -2, 1, 2 }; static int8_t quant_tab[4] = { -1, -2, 1, 2 };
const int xy= s->mb_x + s->mb_y * s->mb_stride; const int xy= s->mb_x + s->mb_y * s->mb_stride;
assert(s->h263_pred); av_assert2(s->h263_pred);
if (s->pict_type == AV_PICTURE_TYPE_P || s->pict_type==AV_PICTURE_TYPE_S) { if (s->pict_type == AV_PICTURE_TYPE_P || s->pict_type==AV_PICTURE_TYPE_S) {
do{ do{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment