You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avcodec/vaapi_av1: pass full buffer size for each tile
Previously, only the size of a given tile was passed, making the offset and size marked in VASliceParameterBufferAV1 invalid with multiple tiles. Signed-off-by: Fei Wang <fei.w.wang@intel.com>
This commit is contained in:
@@ -292,7 +292,7 @@ static int vaapi_av1_decode_slice(AVCodecContext *avctx,
|
|||||||
err = ff_vaapi_decode_make_slice_buffer(avctx, pic, &slice_param,
|
err = ff_vaapi_decode_make_slice_buffer(avctx, pic, &slice_param,
|
||||||
sizeof(VASliceParameterBufferAV1),
|
sizeof(VASliceParameterBufferAV1),
|
||||||
buffer,
|
buffer,
|
||||||
s->tile_group_info[i].tile_size);
|
size);
|
||||||
if (err) {
|
if (err) {
|
||||||
ff_vaapi_decode_cancel(avctx, pic);
|
ff_vaapi_decode_cancel(avctx, pic);
|
||||||
return err;
|
return err;
|
||||||
|
Reference in New Issue
Block a user