avcodec/utils: use av_assert0() to check validity of input pointers for start code...
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Jul 2013 19:23:09 +0000 (21:23 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 23 Jul 2013 19:23:09 +0000 (21:23 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/utils.c

index 64bae3e..ea83fe8 100644 (file)
@@ -3225,7 +3225,7 @@ const uint8_t *avpriv_find_start_code(const uint8_t *av_restrict p,
 {
     int i;
 
-    assert(p <= end);
+    av_assert0(p <= end);
     if (p >= end)
         return end;