[FFmpeg-cvslog] x86/mpegvideo: switch to av_assert

Michael Niedermayer git at videolan.org
Fri Mar 22 23:03:46 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Mar 22 22:57:23 2013 +0100| [b3e9f266e8f8b9950844eb5f6bfed48fc0cb2f85] | committer: Michael Niedermayer

x86/mpegvideo: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b3e9f266e8f8b9950844eb5f6bfed48fc0cb2f85
---

 libavcodec/x86/mpegvideo.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/x86/mpegvideo.c b/libavcodec/x86/mpegvideo.c
index 903ad62..49e9fd3 100644
--- a/libavcodec/x86/mpegvideo.c
+++ b/libavcodec/x86/mpegvideo.c
@@ -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] ];
 



More information about the ffmpeg-cvslog mailing list