mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user