From 5c44c2de8045ea0b9787a95053f542b1b3b860d2 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 24 Jun 2012 20:20:23 +0200 Subject: [PATCH] mlp_parser: use av_assert Signed-off-by: Michael Niedermayer --- libavcodec/mlp_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index bd18ec2152..184f926854 100644 --- a/libavcodec/mlp_parser.c +++ b/libavcodec/mlp_parser.c @@ -129,7 +129,7 @@ int ff_mlp_read_major_sync(void *log, MLPHeaderInfo *mh, GetBitContext *gb) int ratebits; uint16_t checksum; - assert(get_bits_count(gb) == 0); + av_assert1(get_bits_count(gb) == 0); if (gb->size_in_bits < 28 << 3) { av_log(log, AV_LOG_ERROR, "packet too short, unable to read major sync\n");