Commit b6dcd6df authored by Michael Niedermayer's avatar Michael Niedermayer

sws cleanup yuv2planeX_10_c_template()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent b1a4b735
...@@ -368,7 +368,7 @@ yuv2planeX_10_c_template(const int16_t *filter, int filterSize, ...@@ -368,7 +368,7 @@ yuv2planeX_10_c_template(const int16_t *filter, int filterSize,
int shift = 11 + 16 - output_bits; int shift = 11 + 16 - output_bits;
for (i = 0; i < dstW; i++) { for (i = 0; i < dstW; i++) {
int val = 1 << (26-output_bits); int val = 1 << (shift - 1);
int j; int j;
for (j = 0; j < filterSize; j++) for (j = 0; j < filterSize; j++)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment