diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-29 19:35:08 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-05-29 14:32:08 +0200 |
commit | 06b5facd4b8cb19da352cec71b2edf2f0343ee35 (patch) | |
tree | 4939f8cc5f77fa22a47b8ad1e5131d83f626a997 /libswscale/rgb2rgb_template.c | |
parent | d6e0729b24de566a80554abbdf0aca1ed24de14b (diff) | |
download | ffmpeg-06b5facd4b8cb19da352cec71b2edf2f0343ee35.tar.gz |
swscale: Remove disabled code.
Diffstat (limited to 'libswscale/rgb2rgb_template.c')
-rw-r--r-- | libswscale/rgb2rgb_template.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libswscale/rgb2rgb_template.c b/libswscale/rgb2rgb_template.c index 0a226a2960..c02015e5b3 100644 --- a/libswscale/rgb2rgb_template.c +++ b/libswscale/rgb2rgb_template.c @@ -574,7 +574,6 @@ static inline void planar2x_c(const uint8_t *src, uint8_t *dst, int srcWidth, } // last line -#if 1 dst[0]= src[0]; for (x=0; x<srcWidth-1; x++) { @@ -582,12 +581,6 @@ static inline void planar2x_c(const uint8_t *src, uint8_t *dst, int srcWidth, dst[2*x+2]= ( src[x] + 3*src[x+1])>>2; } dst[2*srcWidth-1]= src[srcWidth-1]; -#else - for (x=0; x<srcWidth; x++) { - dst[2*x+0]= - dst[2*x+1]= src[x]; - } -#endif } /** |