diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2011-05-24 15:18:40 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2011-05-26 09:30:14 -0400 |
commit | b6cac9b3bfba262f33875c549382b816c8e8cf26 (patch) | |
tree | d207e1c658b7f87c7f039476ff9833965ed5803e /libswscale/swscale_template.c | |
parent | 2159a245738cfec80dfcdeba8d2fbdc2db0f711c (diff) | |
download | ffmpeg-b6cac9b3bfba262f33875c549382b816c8e8cf26.tar.gz |
swscale: remove if(full_chr_int) from yuv2packed1().
If that flag is set, swScale() already proxies the call to
yuv2rgbXinC_full(). Therefore, this flag is never set when
yuv2packed1() is called.
Diffstat (limited to 'libswscale/swscale_template.c')
-rw-r--r-- | libswscale/swscale_template.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libswscale/swscale_template.c b/libswscale/swscale_template.c index e27d45be25..aeeb42815e 100644 --- a/libswscale/swscale_template.c +++ b/libswscale/swscale_template.c @@ -127,11 +127,6 @@ static inline void yuv2packed1_c(SwsContext *c, const uint16_t *buf0, const uint16_t *buf1= buf0; //FIXME needed for RGB1/BGR1 const int yalpha= 4096; //FIXME ... - if (flags&SWS_FULL_CHR_H_INT) { - c->yuv2packed2(c, buf0, buf0, uvbuf0, uvbuf1, abuf0, abuf0, dest, dstW, 0, uvalpha, y); - return; - } - if (uvalpha < 2048) { YSCALE_YUV_2_ANYRGB_C(YSCALE_YUV_2_RGB1_C, YSCALE_YUV_2_PACKED1_C(void,0), YSCALE_YUV_2_GRAY16_1_C, YSCALE_YUV_2_MONO2_C) } else { |