diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-07 21:31:22 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-07 21:31:22 +0200 |
commit | 07732b4f09df232b69933d26394d8c18466cc6fd (patch) | |
tree | 160de6fa3c43fd2e607ead66ef4233bfeb03281e /libavcodec | |
parent | a21c212681ad4493c2b95d166947d6366cd62524 (diff) | |
download | ffmpeg-07732b4f09df232b69933d26394d8c18466cc6fd.tar.gz |
h261dec: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/h261dec.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/h261dec.c b/libavcodec/h261dec.c index 54571b6354..031d77c144 100644 --- a/libavcodec/h261dec.c +++ b/libavcodec/h261dec.c @@ -25,6 +25,7 @@ * H.261 decoder. */ +#include "libavutil/avassert.h" #include "dsputil.h" #include "avcodec.h" #include "mpegvideo.h" @@ -629,8 +630,8 @@ retry: } ff_MPV_frame_end(s); -assert(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type); -assert(s->current_picture.f.pict_type == s->pict_type); + av_assert0(s->current_picture.f.pict_type == s->current_picture_ptr->f.pict_type); + av_assert0(s->current_picture.f.pict_type == s->pict_type); *pict = s->current_picture_ptr->f; ff_print_debug_info(s, pict); |