mirror of
https://mirror.skon.top/https://github.com/FFmpeg/FFmpeg
synced 2026-04-20 21:00:41 +08:00
lavc/hevcdec: pass an actual codec context to ff_h2645_sei_to_frame()
Needed by following commit.
(cherry picked from commit d9f1b321cf)
This commit is contained in:
@@ -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 */);
|
||||
|
||||
Reference in New Issue
Block a user