History

avcodec/rv20enc: Use av_assert1() instead of av_assert0()

There is really no good reason to perform these checks in release builds.

Andreas Rheinhardt committed 1 year ago

Commit 2282a371 parent a3591721 file · +6 −6Browse files

Unified · Split

libavcodec/rv20enc.c+6−6
@@ -50,12 +50,12 @@ int ff_rv20_encode_picture_header(MPVMainEncContext *const m) · 49 unmodified lines
5050
5151 put_bits(&s->pb, 1, s->c.no_rounding);
5252
53− av_assert0(s->f_code == 1);
54− av_assert0(!s->c.unrestricted_mv);
55− av_assert0(!s->c.alt_inter_vlc);
56− av_assert0(!s->c.umvplus);
57− av_assert0(s->c.modified_quant==1);
58− av_assert0(s->c.loop_filter==1);
53+ av_assert1(s->f_code == 1);
54+ av_assert1(!s->c.unrestricted_mv);
55+ av_assert1(!s->c.alt_inter_vlc);
56+ av_assert1(!s->c.umvplus);
57+ av_assert1(s->c.modified_quant == 1);
58+ av_assert1(s->c.loop_filter == 1);
5959
6060 s->c.h263_aic = s->c.pict_type == AV_PICTURE_TYPE_I;
6161 if (s->c.h263_aic) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t