Commit 57fbe929 authored by Fei Wang's avatar Fei Wang Committed by Haihao Xiang

avcodec/av1dec: Return error for unsupported tile list OBU

Otherwise decoding maybe successful but output result is incorrect.
Signed-off-by: 's avatarFei Wang <fei.w.wang@intel.com>
parent 3f7e50f5
......@@ -1202,6 +1202,12 @@ static int av1_receive_frame_internal(AVCodecContext *avctx, AVFrame *frame)
av_log(avctx, AV_LOG_DEBUG, "OBU idx:%d, type:%d, content available:%d.\n", i, unit->type, !!obu);
if (unit->type == AV1_OBU_TILE_LIST) {
av_log(avctx, AV_LOG_ERROR, "Large scale tile decoding is unsupported.\n");
ret = AVERROR_PATCHWELCOME;
goto end;
}
if (!obu)
continue;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment