aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2024-02-23 09:06:46 +0100
committerAnton Khirnov <anton@khirnov.net>2024-03-08 07:37:56 +0100
commitd9f1b321cf58a85518d29c5a3d220d67b1a68b92 (patch)
treeefa91c76405ff18c75809a505896bab050dee8e8 /libavcodec
parenteec01ef65faf0a42e6138f7fe7dce28a237c297e (diff)
downloadffmpeg-d9f1b321cf58a85518d29c5a3d220d67b1a68b92.tar.gz
lavc/hevcdec: pass an actual codec context to ff_h2645_sei_to_frame()
Needed by following commit.
Diffstat (limited to 'libavcodec')
-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 */);