avcodec/libdav1d: call ff_attach_decode_data() on output frames

This will allow the injection of LCEVC side data.

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2026-03-27 14:31:33 -03:00
parent 823c6fc0b8
commit ad7d270935

View File

@@ -655,6 +655,10 @@ static int libdav1d_receive_frame(AVCodecContext *c, AVFrame *frame)
sizeof(fgp->codec.aom.uv_offset));
}
res = ff_attach_decode_data(c, frame);
if (res < 0)
return res;
res = 0;
fail:
dav1d_picture_unref(p);