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

Showing the changes to libavcodec (1 of 1 file). Show all

Unified · Split

libavcodec/rv20enc.c+6−6
@@ -50,12 +50,12 @@ int ff_rv20_encode_picture_header(MPVMainEncContext *const m) · 49 unmodified lines
50 50
51 put_bits(&s->pb, 1, s->c.no_rounding);51 put_bits(&s->pb, 1, s->c.no_rounding);
52 52
53 av_assert0(s->f_code == 1);53 av_assert1(s->f_code == 1);
54 av_assert0(!s->c.unrestricted_mv);54 av_assert1(!s->c.unrestricted_mv);
55 av_assert0(!s->c.alt_inter_vlc);55 av_assert1(!s->c.alt_inter_vlc);
56 av_assert0(!s->c.umvplus);56 av_assert1(!s->c.umvplus);
57 av_assert0(s->c.modified_quant==1);57 av_assert1(s->c.modified_quant == 1);
58 av_assert0(s->c.loop_filter==1);58 av_assert1(s->c.loop_filter == 1);
59 59
60 s->c.h263_aic = s->c.pict_type == AV_PICTURE_TYPE_I;60 s->c.h263_aic = s->c.pict_type == AV_PICTURE_TYPE_I;
61 if (s->c.h263_aic) {61 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