swscale/output: fix reading chroma values when generating vuya output

Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
James Almer
2022-08-08 09:24:46 -03:00
parent 56973eb687
commit 68e017c487
13 changed files with 14 additions and 14 deletions

View File

@@ -2602,10 +2602,10 @@ yuv2vuya_X_c(SwsContext *c, const int16_t *lumFilter,
for (j = 0; j < lumFilterSize; j++)
Y += lumSrc[j][i] * lumFilter[j];
for (j = 0; j < lumFilterSize; j++)
for (j = 0; j < chrFilterSize; j++)
U += chrUSrc[j][i] * chrFilter[j];
for (j = 0; j < lumFilterSize; j++)
for (j = 0; j < chrFilterSize; j++)
V += chrVSrc[j][i] * chrFilter[j];
Y >>= 19;