diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-08-14 15:22:50 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-08-14 19:34:48 +0200 |
commit | 3652409f5b45195a5907f1f5b860f87b1b64bed4 (patch) | |
tree | 4cedaabe3105e4b597b57532f5f9d15a5814cd18 | |
parent | b854c2a709866d30a21592b580c4a95d1eb3a368 (diff) | |
download | ffmpeg-3652409f5b45195a5907f1f5b860f87b1b64bed4.tar.gz |
sws: remove unneeded code from last merge
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswscale/swscale.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c index 9897f2fd89..4148980c31 100644 --- a/libswscale/swscale.c +++ b/libswscale/swscale.c @@ -2959,9 +2959,6 @@ static av_cold void sws_init_swScale_c(SwsContext *c) } } else { if(c->dstBpc > 10){ - if((isAnyRGB(c->srcFormat) && av_pix_fmt_descriptors[c->srcFormat].comp[0].depth_minus1<15) - || c->srcFormat == PIX_FMT_PAL8) - c->hScale16= hScale16N_c; if(c->hScale16 == hScale16NX_c && !isAnyRGB(c->srcFormat)){ c->chrToYV12 = bswap16UV_c; c->lumToYV12 = bswap16Y_c; |