dct_unquantize_h263_intra_c: fix assert condition
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 6 Jul 2013 23:39:43 +0000 (01:39 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 6 Jul 2013 23:50:59 +0000 (01:50 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo.c

index 0871489..4fef2f7 100644 (file)
@@ -3236,7 +3236,7 @@ static void dct_unquantize_h263_intra_c(MpegEncContext *s,
     int i, level, qmul, qadd;
     int nCoeffs;
 
-    av_assert2(s->block_last_index[n]>=0);
+    av_assert2(s->block_last_index[n]>=0 || s->h263_aic);
 
     qmul = qscale << 1;