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

Paul B Mahol git at videolan.org
Fri Jan 30 16:38:46 CET 2015


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Fri Jan 30 11:44:00 2015 +0000| [80cbf13725592614226aa3533492266f0074d146] | committer: Paul B Mahol

avformat/rtpdec_qdm2: change assert to av_assert0()

Signed-off-by: Paul B Mahol <onemda at gmail.com>

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

 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;



More information about the ffmpeg-cvslog mailing list