[FFmpeg-cvslog] lavc/hevcdec: pass an actual codec context to ff_h2645_sei_to_frame()

Anton Khirnov git at videolan.org
Fri Mar 8 09:06:31 EET 2024


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Feb 23 09:06:46 2024 +0100| [d9f1b321cf58a85518d29c5a3d220d67b1a68b92] | committer: Anton Khirnov

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

Needed by following commit.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d9f1b321cf58a85518d29c5a3d220d67b1a68b92
---

 libavcodec/hevcdec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 */);



More information about the ffmpeg-cvslog mailing list