diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 16:36:17 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-11-23 16:36:17 +0100 |
commit | 56540bb3b5a101cddbce418801da8ae7d67e1638 (patch) | |
tree | 244e5d67994b047419bb436b98bc109bc796087e /libavcodec/h263dec.c | |
parent | 5da885b84d0aeafabb957155ca5518b90c93b538 (diff) | |
download | ffmpeg-56540bb3b5a101cddbce418801da8ae7d67e1638.tar.gz |
h263dec: switch 2 asserts to av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h263dec.c')
-rw-r--r-- | libavcodec/h263dec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h263dec.c b/libavcodec/h263dec.c index 7141d49e0a..c897bc31c6 100644 --- a/libavcodec/h263dec.c +++ b/libavcodec/h263dec.c @@ -268,7 +268,7 @@ static int decode_slice(MpegEncContext *s){ s->mb_x= 0; } - assert(s->mb_x==0 && s->mb_y==s->mb_height); + av_assert1(s->mb_x==0 && s->mb_y==s->mb_height); if(s->codec_id==AV_CODEC_ID_MPEG4 && (s->workaround_bugs&FF_BUG_AUTODETECT) @@ -705,7 +705,7 @@ retry: s->error_status_table[s->mb_num-1]= ER_MB_ERROR; } - assert(s->bitstream_buffer_size==0); + av_assert1(s->bitstream_buffer_size==0); frame_end: /* divx 5.01+ bistream reorder stuff */ if(s->codec_id==AV_CODEC_ID_MPEG4 && s->divx_packed){ |