Otherwise decoding maybe successful but output result is incorrect.
Unified · Split
| @@ -1202,6 +1202,12 @@ static int av1_receive_frame_internal(AVCodecContext *avctx, AVFrame *frame) · 1201 unmodified lines | ||
| 1202 | 1202 | |
| 1203 | 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 | 1211 | if (!obu) |
| 1206 | 1212 | continue; |
| 1207 | 1213 | |