summaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-10-23 13:54:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2011-10-23 19:22:58 +0200
commit1c26f2da8123fc1b624b86cf5db8ec578f07b9e2 (patch)
tree964c985ef3a06369cd377916e5c3d4a858265ac3 /libswscale
parent4a5ea9e0ce0628b4498c013084ce9e7006ba93fb (diff)
downloadffmpeg-streaming-1c26f2da8123fc1b624b86cf5db8ec578f07b9e2.zip
ffmpeg-streaming-1c26f2da8123fc1b624b86cf5db8ec578f07b9e2.tar.gz
sws: drop unused code
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 2649ce0..1e69e97 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -316,11 +316,10 @@ yuv2planeX_16_c_template(const int16_t *filter, int filterSize,
int big_endian, int output_bits)
{
int i;
- int dword= output_bits == 16;
int shift = 15 + 16 - output_bits;
for (i = 0; i < dstW; i++) {
- int val = 1 << (26-output_bits + 4*dword);
+ int val = 1 << (30-output_bits);
int j;
/* range of val is [0,0x7FFFFFFF], so 31 bits, but with lanczos/spline
OpenPOWER on IntegriCloud