[FFmpeg-devel] [PATCH] avformat/rtpdec_qdm2: change assert to av_assert0()

Paul B Mahol onemda at gmail.com
Fri Jan 30 12:44:48 CET 2015


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavformat/rtpdec_qdm2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/rtpdec_qdm2.c b/libavformat/rtpdec_qdm2.c
index e1dd62f..edd9490 100644
--- a/libavformat/rtpdec_qdm2.c
+++ b/libavformat/rtpdec_qdm2.c
@@ -189,7 +189,7 @@ static int qdm2_restore_block(PayloadContext *qdm, AVStream *st, AVPacket *pkt)
     uint8_t *p, *csum_pos = NULL;
 
     /* create packet to hold subpkts into a superblock */
-    assert(qdm->cache > 0);
+    av_assert0(qdm->cache > 0);
     for (n = 0; n < 0x80; n++)
         if (qdm->len[n] > 0)
             break;
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list