diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2015-01-31 02:37:19 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2015-01-31 02:37:19 +0100 |
commit | f5722ba276e524a48973d9db63b80a3dcc206ce4 (patch) | |
tree | 63f33c691c8c8c2581a49007941daa2eee34ad57 /libavcodec/h264.c | |
parent | be2ebc723d1ff2d6c87282c22b0ad38343b4db98 (diff) | |
download | ffmpeg-f5722ba276e524a48973d9db63b80a3dcc206ce4.tar.gz |
libavcodec/h264: replace assert() by av_assert0()
also remove the now unneeded #include <assert.h>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 35261d8804..4b01dcca5a 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -51,8 +51,6 @@ #include "thread.h" #include "vdpau_internal.h" -#include <assert.h> - const uint16_t ff_h264_mb_sizes[4] = { 256, 384, 512, 768 }; int avpriv_h264_has_num_reorder_frames(AVCodecContext *avctx) @@ -1891,7 +1889,7 @@ static int h264_decode_frame(AVCodecContext *avctx, void *data, } } - assert(pict->buf[0] || !*got_frame); + av_assert0(pict->buf[0] || !*got_frame); ff_h264_unref_picture(h, &h->last_pic_for_ec); |