avcodec/mpegvideo: update disabled assert() to av_assert0()
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Jul 2013 12:25:25 +0000 (14:25 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 27 Jul 2013 13:23:13 +0000 (15:23 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo.c

index 4116f34..e987d87 100644 (file)
@@ -1761,7 +1761,7 @@ void ff_MPV_frame_end(MpegEncContext *s)
             break;
         }
     }
-    assert(i < MAX_PICTURE_COUNT);
+    av_assert0(i < MAX_PICTURE_COUNT);
 #endif
 
     // clear copies, to avoid confusion