diff options
author | Michael Niedermayer | 2011-10-23 14:08:42 +0200 |
---|---|---|
committer | Michael Niedermayer | 2011-10-23 19:22:58 +0200 |
commit | b6dcd6dfccdc3c689ec86a55595550a3662c37c9 (patch) | |
tree | d5547df699990a6e073f2b7b3ab81bc614df395c /libswscale | |
parent | b1a4b735f9b03840803413cb725216d15d5213a7 (diff) |
sws cleanup yuv2planeX_10_c_template()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r-- | libswscale/swscale.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 96f2922258..2694dbbe7e 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -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++) |