diff options
author | rcombs <rcombs@rcombs.me> | 2022-06-01 20:07:47 -0500 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2022-06-01 20:07:47 -0500 |
commit | 3e580351bc1dba9d023cd5562df99be9a30fb504 (patch) | |
tree | 6fd28553608d15c7b00b2a5b062798f7482f35b0 /libavfilter | |
parent | bb6d9a0f326c3ba8ddbba28fdf9ca70759db99aa (diff) | |
download | ffmpeg-3e580351bc1dba9d023cd5562df99be9a30fb504.tar.gz |
lavfi/vf_scale_vulkan: fix build
This was broken in d42b410e05ad1c4d6e74aa981b4a4423103291fb.
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_scale_vulkan.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c index 5fe36ca7b0..c140420896 100644 --- a/libavfilter/vf_scale_vulkan.c +++ b/libavfilter/vf_scale_vulkan.c @@ -239,14 +239,14 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) RET(ff_vk_init_compute_pipeline(vkctx, s->pl)); if (s->vkctx.output_format != s->vkctx.input_format) { - const struct LumaCoefficients *lcoeffs; + const AVLumaCoefficients *lcoeffs; double tmp_mat[3][3]; struct { float yuv_matrix[4][4]; } *par; - lcoeffs = ff_get_luma_coefficients(in->colorspace); + lcoeffs = av_csp_luma_coeffs_from_avcsp(in->colorspace); if (!lcoeffs) { av_log(ctx, AV_LOG_ERROR, "Unsupported colorspace\n"); return AVERROR(EINVAL); |