[FFmpeg-cvslog] nsvdec: change 2 commented assert() to av_assert()

Michael Niedermayer git at videolan.org
Tue Sep 18 05:23:56 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 18 05:08:32 2012 +0200| [a1fb2b935a51c8e7ab4f4044281a032f58a1a7dd] | committer: Michael Niedermayer

nsvdec: change 2 commented assert() to av_assert()

they keep showing up if i grep for non av assert()

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

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

 libavformat/nsvdec.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index 00f796a..e64fffb 100644
--- a/libavformat/nsvdec.c
+++ b/libavformat/nsvdec.c
@@ -100,8 +100,8 @@ struct NSVs_header {
     uint32_t chunk_tag; /* 'NSVs' */
     uint32_t v4cc;      /* or 'NONE' */
     uint32_t a4cc;      /* or 'NONE' */
-    uint16_t vwidth;    /* assert(vwidth%16==0) */
-    uint16_t vheight;   /* assert(vheight%16==0) */
+    uint16_t vwidth;    /* av_assert(vwidth%16==0) */
+    uint16_t vheight;   /* av_assert(vheight%16==0) */
     uint8_t framerate;  /* value = (framerate&0x80)?frtable[frameratex0x7f]:framerate */
     uint16_t unknown;
 };



More information about the ffmpeg-cvslog mailing list