diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-23 22:17:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-23 23:54:13 +0200 |
commit | bb1e0e80b02a49c96f5cd39ed0712b07d37f3fd7 (patch) | |
tree | 7b474103b70d2e6981daab2840af0476eaadc9d9 | |
parent | 393378273542b905083863a9f2291cc6a386d24d (diff) | |
download | ffmpeg-bb1e0e80b02a49c96f5cd39ed0712b07d37f3fd7.tar.gz |
libavcodec/bitstream: switch to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libavcodec/bitstream.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/bitstream.c b/libavcodec/bitstream.c index 506eb336a0..0d3f59792c 100644 --- a/libavcodec/bitstream.c +++ b/libavcodec/bitstream.c @@ -28,6 +28,7 @@ * bitstream api. */ +#include "libavutil/avassert.h" #include "avcodec.h" #include "get_bits.h" #include "put_bits.h" @@ -283,7 +284,7 @@ int ff_init_vlc_sparse(VLC *vlc, int nb_bits, int nb_codes, buf = av_malloc((nb_codes+1)*sizeof(VLCcode)); - assert(symbols_size <= 2 || !symbols); + av_assert0(symbols_size <= 2 || !symbols); j = 0; #define COPY(condition)\ for (i = 0; i < nb_codes; i++) {\ |