History

avcodec/mpeg4videodec: Don't check for errors for complete VLCs

Andreas Rheinhardt committed 6 years ago

Commit 0da310d1 parent 5f8de7b1 file · +1 −4Browse files

Unified · Split

libavcodec/mpeg4videodec.c+1−4
@@ -1845,10 +1845,7 @@ static int mpeg4_decode_studio_block(MpegEncContext *s, int32_t block[64], int n · 1844 unmodified lines
18451845 quant_matrix = s->chroma_intra_matrix;
18461846 }
18471847
1848− if (dct_dc_size < 0) {
1849− av_log(s->avctx, AV_LOG_ERROR, "illegal dct_dc_size vlc\n");
1850− return AVERROR_INVALIDDATA;
1851− } else if (dct_dc_size == 0) {
1848+ if (dct_dc_size == 0) {
18521849 dct_diff = 0;
18531850 } else {
18541851 dct_diff = get_xbits(&s->gb, dct_dc_size);

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