]> git.sesse.net Git - ffmpeg/commitdiff
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 4116f340d9371d2c9d046b1b0d44d0ac90659071..e987d876e98e202b05580715d812bbcd5fb434be 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