diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-24 05:39:30 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-24 13:44:25 +0200 |
commit | 6b72615c32d7f3bc53a6d6075042aee626d07412 (patch) | |
tree | 041364608de71013c95f498abc6df02fc9acb837 | |
parent | b66afe087ae15417282c6a7b1fcf08fc72802766 (diff) | |
download | ffmpeg-6b72615c32d7f3bc53a6d6075042aee626d07412.tar.gz |
rtpdec_xiph: switch to av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavformat/rtpdec_xiph.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index 2457f660b8..097d1a32bd 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -27,12 +27,11 @@ * @author Josh Allmann <joshua.allmann@gmail.com> */ +#include "libavutil/avassert.h" #include "libavutil/avstring.h" #include "libavutil/base64.h" #include "libavcodec/bytestream.h" -#include <assert.h> - #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 |