mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
sws cleanup yuv2planeX_10_c_template()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
b1a4b735f9
commit
b6dcd6dfcc
@ -368,7 +368,7 @@ yuv2planeX_10_c_template(const int16_t *filter, int filterSize,
|
||||
int shift = 11 + 16 - output_bits;
|
||||
|
||||
for (i = 0; i < dstW; i++) {
|
||||
int val = 1 << (26-output_bits);
|
||||
int val = 1 << (shift - 1);
|
||||
int j;
|
||||
|
||||
for (j = 0; j < filterSize; j++)
|
||||
|
Loading…
Reference in New Issue
Block a user