swscale/output: fix reading chroma values when generating vuya output
Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user