aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-06-24 20:20:23 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-06-24 20:20:23 +0200
commit5c44c2de8045ea0b9787a95053f542b1b3b860d2 (patch)
tree919fb5279f4cfd1c6c60678af740ec7651d3331f
parentf0a3259f9af5a4750d2c6cf57afd4b7e2f60d64d (diff)
downloadffmpeg-5c44c2de8045ea0b9787a95053f542b1b3b860d2.tar.gz
mlp_parser: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/mlp_parser.c2
1 files changed, 1 insertions, 1 deletions
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");