History

avcodec/mpeg12: Remove always-false check

Forgotten in 7800cc6e82068c6dfb5af53817f03dfda794c568.

Andreas Rheinhardt committed 2 years ago

Commit ca7b2c31 parent 66923161 file · +0 −2Browse files

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

Unified · Split

libavcodec/mpeg12.c+0−2
@@ -180,8 +180,6 @@ int ff_mpeg1_decode_block_intra(GetBitContext *gb, · 179 unmodified lines
180 component = index <= 3 ? 0 : index - 4 + 1;180 component = index <= 3 ? 0 : index - 4 + 1;
181 181
182 diff = decode_dc(gb, component);182 diff = decode_dc(gb, component);
183 if (diff >= 0xffff)
184 return AVERROR_INVALIDDATA;
185 183
186 dc = last_dc[component];184 dc = last_dc[component];
187 dc += diff;185 dc += diff;

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