summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-02-23 09:06:46 +0100
committerAnton Khirnov <anton@khirnov.net>2024-03-04 13:59:21 +0100
commitcc8fe394202544241349af5f3087bb480f859409 (patch)
treec00ae2a0e7db7961e45e224d85a9200e8df9eeb2
parentbaafebe50e3e23fd1ce3242910f1fe9274fa10b9 (diff)
lavc/hevcdec: pass an actual codec context to ff_h2645_sei_to_frame()
Needed by following commit.
-rw-r--r--libavcodec/hevcdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index b5311ae510..17c6a9212f 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
@@ -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 */);