mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 04:44:34 +00:00
mlp_parser: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
f0a3259f9a
commit
5c44c2de80
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user