This was broken in d42b410e05ad1c4d6e74aa981b4a4423103291fb.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -239,14 +239,14 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) · 238 unmodified lines | ||
| 239 | 239 | RET(ff_vk_init_compute_pipeline(vkctx, s->pl)); |
| 240 | 240 | |
| 241 | 241 | if (s->vkctx.output_format != s->vkctx.input_format) { |
| 242 | − const struct LumaCoefficients *lcoeffs; | |
| 242 | + const AVLumaCoefficients *lcoeffs; | |
| 243 | 243 | double tmp_mat[3][3]; |
| 244 | 244 | |
| 245 | 245 | struct { |
| 246 | 246 | float yuv_matrix[4][4]; |
| 247 | 247 | } *par; |
| 248 | 248 | |
| 249 | − lcoeffs = ff_get_luma_coefficients(in->colorspace); | |
| 249 | + lcoeffs = av_csp_luma_coeffs_from_avcsp(in->colorspace); | |
| 250 | 250 | if (!lcoeffs) { |
| 251 | 251 | av_log(ctx, AV_LOG_ERROR, "Unsupported colorspace\n"); |
| 252 | 252 | return AVERROR(EINVAL); |