git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b854c2a
)
sws: remove unneeded code from last merge
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 14 Aug 2011 13:22:50 +0000
(15:22 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 14 Aug 2011 17:34:48 +0000
(19:34 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libswscale/swscale.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale.c
b/libswscale/swscale.c
index
9897f2f
..
4148980
100644
(file)
--- 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;