diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-06 21:18:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-06 21:18:47 +0200 |
commit | eeba7c874b2c6895ea5a74a45e1fa6a987d8613b (patch) | |
tree | 185421d22de075067e413fde8fa7c14b070e32dc /libavcodec | |
parent | c3b6efa4cb25400d7ff8853ee6ebd95c29b744a6 (diff) | |
download | ffmpeg-streaming-eeba7c874b2c6895ea5a74a45e1fa6a987d8613b.zip ffmpeg-streaming-eeba7c874b2c6895ea5a74a45e1fa6a987d8613b.tar.gz |
wmv2enc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/wmv2enc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wmv2enc.c b/libavcodec/wmv2enc.c index d8c2653..d83723d 100644 --- a/libavcodec/wmv2enc.c +++ b/libavcodec/wmv2enc.c @@ -85,10 +85,10 @@ int ff_wmv2_encode_picture_header(MpegEncContext * s, int picture_number) w->abt_type=0; w->j_type=0; - assert(s->flipflop_rounding); + av_assert0(s->flipflop_rounding); if (s->pict_type == AV_PICTURE_TYPE_I) { - assert(s->no_rounding==1); + av_assert0(s->no_rounding==1); if(w->j_type_bit) put_bits(&s->pb, 1, w->j_type); if(w->per_mb_rl_bit) put_bits(&s->pb, 1, s->per_mb_rl_table); |