Browse Source

mlpdec: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
60f3291086
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mlpdec.c

+ 1
- 1
libavcodec/mlpdec.c View File

@@ -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…
Cancel
Save