1
0
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:
Michael Niedermayer 2011-10-23 14:08:42 +02:00
parent b1a4b735f9
commit b6dcd6dfcc

View File

@ -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++)