1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-15 14:13:16 +02:00

lavc/hevcdec: pass an actual codec context to ff_h2645_sei_to_frame()

Needed by following commit.
This commit is contained in:
Anton Khirnov
2024-02-23 09:06:46 +01:00
parent eec01ef65f
commit d9f1b321cf

View File

@@ -2778,7 +2778,7 @@ static int set_side_data(HEVCContext *s)
s->sei.common.content_light.present--;
}
ret = ff_h2645_sei_to_frame(out, &s->sei.common, AV_CODEC_ID_HEVC, NULL,
ret = ff_h2645_sei_to_frame(out, &s->sei.common, AV_CODEC_ID_HEVC, s->avctx,
&s->ps.sps->vui.common,
s->ps.sps->bit_depth, s->ps.sps->bit_depth_chroma,
s->ref->poc /* no poc_offset in HEVC */);