History

avcodec/av1dec: Return error for unsupported tile list OBU

Otherwise decoding maybe successful but output result is incorrect.

Fei Wang committed 2 years ago

Commit 57fbe921 parent 3f7e50f1 file · +6 −0Browse files

Unified · Split

libavcodec/av1dec.c+6−0
@@ -1202,6 +1202,12 @@ static int av1_receive_frame_internal(AVCodecContext *avctx, AVFrame *frame) · 1201 unmodified lines
1202 1202
1203 av_log(avctx, AV_LOG_DEBUG, "OBU idx:%d, type:%d, content available:%d.\n", i, unit->type, !!obu);1203 av_log(avctx, AV_LOG_DEBUG, "OBU idx:%d, type:%d, content available:%d.\n", i, unit->type, !!obu);
1204 1204
1205 if (unit->type == AV1_OBU_TILE_LIST) {
1206 av_log(avctx, AV_LOG_ERROR, "Large scale tile decoding is unsupported.\n");
1207 ret = AVERROR_PATCHWELCOME;
1208 goto end;
1209 }
1210
1205 if (!obu)1211 if (!obu)
1206 continue;1212 continue;
1207 1213

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