1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

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:
Andreas Rheinhardt
2025-05-06 13:23:48 +02:00
parent a35917268d
commit 2282a3740b

View File

@ -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) {