[FFmpeg-cvslog] matroskadec: change assert to av_assert0()

Michael Niedermayer git at videolan.org
Fri Jun 15 01:45:28 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Jun 15 01:27:56 2012 +0200| [88a740afde048f1c5ce3795a1136e0d6c9d2f289] | committer: Michael Niedermayer

matroskadec: change assert to av_assert0()

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

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

 libavformat/matroskadec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 4690e01..f38cee7 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1907,7 +1907,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
         case 0x1: /* Xiph lacing */
         case 0x2: /* fixed-size lacing */
         case 0x3: /* EBML lacing */
-            assert(size>0); // size <=3 is checked before size-=3 above
+            av_assert0(size>0); // size <=3 is checked before size-=3 above
             laces = (*data) + 1;
             data += 1;
             size -= 1;



More information about the ffmpeg-cvslog mailing list