diff options
author | Lynne <dev@lynne.ee> | 2020-04-06 21:15:51 +0300 |
---|---|---|
committer | Lynne <dev@lynne.ee> | 2020-04-06 21:16:35 +0300 |
commit | ca76a5ba1a35e317d0fb327fffe3ad9add6b7e61 (patch) | |
tree | 592e6e47e06fa6af13865862a9ca6701b0f3688c /libavfilter | |
parent | 30b28f9a83ec095f5684fecb04a42619a6675989 (diff) |
scale_vulkan: correctly copy the colormatrix
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_scale_vulkan.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_scale_vulkan.c b/libavfilter/vf_scale_vulkan.c index c5c64ae96c..4f1e484bc9 100644 --- a/libavfilter/vf_scale_vulkan.c +++ b/libavfilter/vf_scale_vulkan.c @@ -251,7 +251,7 @@ static av_cold int init_filter(AVFilterContext *ctx, AVFrame *in) for (int y = 0; y < 3; y++) for (int x = 0; x < 3; x++) - par->yuv_matrix[x][y] = tmp_mat[y][x]; + par->yuv_matrix[x][y] = tmp_mat[x][y]; par->yuv_matrix[3][3] = 1.0; |