[FFmpeg-cvslog] avcodec/mpegvideo: update disabled assert() to av_assert0()

Michael Niedermayer git at videolan.org
Sat Jul 27 15:31:03 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Jul 27 14:25:25 2013 +0200| [5e763920a44f85251807d5a5d998a67fb98e32c1] | committer: Michael Niedermayer

avcodec/mpegvideo: update disabled assert() to av_assert0()

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

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

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

diff --git a/libavcodec/mpegvideo.c b/libavcodec/mpegvideo.c
index 4116f34..e987d87 100644
--- a/libavcodec/mpegvideo.c
+++ b/libavcodec/mpegvideo.c
@@ -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



More information about the ffmpeg-cvslog mailing list