summaryrefslogtreecommitdiff
path: root/libavcodec/adpcmenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-10-09 04:00:55 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-10-09 04:00:55 +0200
commit8da7907a4a89f7236342124d7cd3b97f53733039 (patch)
tree750760a050282810a5e4d5aeba2522069aa8527c /libavcodec/adpcmenc.c
parentb49d94e4f25e22c613eb767d72b053e77d6319bc (diff)
downloadffmpeg-8da7907a4a89f7236342124d7cd3b97f53733039.tar.gz
adpcmenc: switch to av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/adpcmenc.c')
-rw-r--r--libavcodec/adpcmenc.c2
1 files changed, 1 insertions, 1 deletions
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++;\