diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-05-07 13:44:54 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-05-07 14:32:50 +0200 |
commit | a6153977df6d2498981391469bb018237ab66b42 (patch) | |
tree | f6376559f0ea52675abe27e3d4d7e5aebba4bc3a /libavcodec/vp9dsp.c | |
parent | b28d5c49f7e5586a212bfffdd2baa752e64d839d (diff) | |
download | ffmpeg-a6153977df6d2498981391469bb018237ab66b42.tar.gz |
avcodec/vp9dsp: Replace assert by av_assert0()
Reviewed-by: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vp9dsp.c')
-rw-r--r-- | libavcodec/vp9dsp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vp9dsp.c b/libavcodec/vp9dsp.c index d78c453c07..5ff18b471c 100644 --- a/libavcodec/vp9dsp.c +++ b/libavcodec/vp9dsp.c @@ -21,6 +21,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/avassert.h" #include "libavutil/common.h" #include "vp9dsp.h" @@ -31,7 +32,7 @@ av_cold void ff_vp9dsp_init(VP9DSPContext *dsp, int bpp) } else if (bpp == 10) { ff_vp9dsp_init_10(dsp); } else { - assert(bpp == 12); + av_assert0(bpp == 12); ff_vp9dsp_init_12(dsp); } |