mlpdec: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ba0e69994d
commit
60f3291086
@ -536,7 +536,7 @@ static int read_filter_params(MLPDecodeContext *m, GetBitContext *gbp,
|
||||
int i, order;
|
||||
|
||||
// Filter is 0 for FIR, 1 for IIR.
|
||||
assert(filter < 2);
|
||||
av_assert0(filter < 2);
|
||||
|
||||
if (m->filter_changed[channel][filter]++ > 1) {
|
||||
av_log(m->avctx, AV_LOG_ERROR, "Filters may change only once per access unit.\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user