diff --git a/libavcodec/adpcmenc.c b/libavcodec/adpcmenc.c index 284fbb60e8..217d165f30 100644 --- a/libavcodec/adpcmenc.c +++ b/libavcodec/adpcmenc.c @@ -376,7 +376,7 @@ static void adpcm_compress_trellis(AVCodecContext *avctx, *h = generation;\ u = nodes_next[pos];\ if (!u) {\ - assert(pathn < FREEZE_INTERVAL << avctx->trellis);\ + av_assert1(pathn < FREEZE_INTERVAL << avctx->trellis);\ u = t++;\ nodes_next[pos] = u;\ u->path = pathn++;\