Commit 6b72615c authored by Michael Niedermayer's avatar Michael Niedermayer

rtpdec_xiph: switch to av_assert()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b66afe08
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment