mpeg4videodec: use av_assert
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 10 Jul 2012 17:37:37 +0000 (19:37 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 10 Jul 2012 17:38:24 +0000 (19:38 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpeg4videodec.c

index bbcafab..dfa3475 100644 (file)
@@ -1179,7 +1179,7 @@ static int mpeg4_decode_mb(MpegEncContext *s,
     static int8_t quant_tab[4] = { -1, -2, 1, 2 };
     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) {
         do{