ffmpeg | branch: release/6.1 | Anton Khirnov <an...@khirnov.net> | Fri Feb 23 
09:06:46 2024 +0100| [b1baad4a5ffcbc932f242f27165bb329782b4375] | committer: 
Marth64

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

Needed by following commit.

(cherry picked from commit d9f1b321cf58a85518d29c5a3d220d67b1a68b92)

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

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

diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c
index d6be8140ff..c8776e9e9d 100644
--- a/libavcodec/hevcdec.c
+++ b/libavcodec/hevcdec.c
@@ -2779,7 +2779,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 */);

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to