From 6b72615c32d7f3bc53a6d6075042aee626d07412 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 24 Aug 2012 05:39:30 +0200 Subject: rtpdec_xiph: switch to av_assert() Signed-off-by: Michael Niedermayer --- libavformat/rtpdec_xiph.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'libavformat') diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index 2457f66..097d1a3 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -27,12 +27,11 @@ * @author Josh Allmann */ +#include "libavutil/avassert.h" #include "libavutil/avstring.h" #include "libavutil/base64.h" #include "libavcodec/bytestream.h" -#include - #include "rtpdec.h" #include "rtpdec_formats.h" @@ -183,7 +182,7 @@ static int xiph_handle_packet(AVFormatContext * ctx, data->timestamp = *timestamp; } else { - assert(fragmented < 4); + av_assert1(fragmented < 4); if (data->timestamp != *timestamp) { // skip if fragmented timestamp is incorrect; // a start packet has been lost somewhere -- cgit v1.1