x86/mpegvideo: switch to av_assert
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Mar 2013 21:57:23 +0000 (22:57 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 22 Mar 2013 21:57:23 +0000 (22:57 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/x86/mpegvideo.c

index 903ad62..49e9fd3 100644 (file)
@@ -111,7 +111,7 @@ static void dct_unquantize_h263_inter_mmx(MpegEncContext *s,
     qmul = qscale << 1;
     qadd = (qscale - 1) | 1;
 
-    assert(s->block_last_index[n]>=0 || s->h263_aic);
+    av_assert2(s->block_last_index[n]>=0 || s->h263_aic);
 
     nCoeffs= s->inter_scantable.raster_end[ s->block_last_index[n] ];