avcodec/rv20enc: Use av_assert1() instead of av_assert0()
There is really no good reason to perform these checks in release builds. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
a35917268d
commit
2282a3740b
1 changed files with 6 additions and 6 deletions
|
|
@ -50,12 +50,12 @@ int ff_rv20_encode_picture_header(MPVMainEncContext *const m)
|
|||
|
||||
put_bits(&s->pb, 1, s->c.no_rounding);
|
||||
|
||||
av_assert0(s->f_code == 1);
|
||||
av_assert0(!s->c.unrestricted_mv);
|
||||
av_assert0(!s->c.alt_inter_vlc);
|
||||
av_assert0(!s->c.umvplus);
|
||||
av_assert0(s->c.modified_quant==1);
|
||||
av_assert0(s->c.loop_filter==1);
|
||||
av_assert1(s->f_code == 1);
|
||||
av_assert1(!s->c.unrestricted_mv);
|
||||
av_assert1(!s->c.alt_inter_vlc);
|
||||
av_assert1(!s->c.umvplus);
|
||||
av_assert1(s->c.modified_quant == 1);
|
||||
av_assert1(s->c.loop_filter == 1);
|
||||
|
||||
s->c.h263_aic = s->c.pict_type == AV_PICTURE_TYPE_I;
|
||||
if (s->c.h263_aic) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue