[FFmpeg-cvslog] sws: remove unneeded code from last merge
Michael Niedermayer
git at videolan.org
Sun Aug 14 19:49:19 CEST 2011
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 14 15:22:50 2011 +0200| [3652409f5b45195a5907f1f5b860f87b1b64bed4] | committer: Michael Niedermayer
sws: remove unneeded code from last merge
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3652409f5b45195a5907f1f5b860f87b1b64bed4
---
libswscale/swscale.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index 9897f2f..4148980 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;
More information about the ffmpeg-cvslog
mailing list