summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_qdm2.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2015-01-30 11:44:00 +0000
committerPaul B Mahol <onemda@gmail.com>2015-01-30 15:32:10 +0000
commit80cbf13725592614226aa3533492266f0074d146 (patch)
treec20b75d68fba1b5a47e2c683b015d1170498e0c1 /libavformat/rtpdec_qdm2.c
parent1fa637d2ef00bf1fddd310221d849cc6ccc139b3 (diff)
downloadffmpeg-80cbf13725592614226aa3533492266f0074d146.tar.gz
avformat/rtpdec_qdm2: change assert to av_assert0()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/rtpdec_qdm2.c')
-rw-r--r--libavformat/rtpdec_qdm2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rtpdec_qdm2.c b/libavformat/rtpdec_qdm2.c
index e1dd62fb8e..edd9490051 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;