OSDN Git Service
(root)
/
coroid
/
ffmpeg_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
522ce95
)
Cosmetics: alignment
author
Vitor Sessak
<vitor1001@gmail.com>
Thu, 23 Oct 2008 19:20:14 +0000
(19:20 +0000)
committer
Vitor Sessak
<vitor1001@gmail.com>
Thu, 23 Oct 2008 19:20:14 +0000
(19:20 +0000)
Originally committed as revision 27818 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
libswscale/swscale.c
patch
|
blob
|
history
diff --git
a/libswscale/swscale.c
b/libswscale/swscale.c
index
1ad488c
..
a926bad
100644
(file)
--- a/
libswscale/swscale.c
+++ b/
libswscale/swscale.c
@@
-2344,10
+2344,10
@@
SwsContext *sws_getContext(int srcW, int srcH, enum PixelFormat srcFormat, int d
c->swScale= rgb2rgbWrapper;
if ((usePal(srcFormat) && (
- dstFormat == PIX_FMT_RGB32 ||
+ dstFormat == PIX_FMT_RGB32
||
dstFormat == PIX_FMT_RGB32_1 ||
- dstFormat == PIX_FMT_RGB24 ||
- dstFormat == PIX_FMT_BGR32 ||
+ dstFormat == PIX_FMT_RGB24
||
+ dstFormat == PIX_FMT_BGR32
||
dstFormat == PIX_FMT_BGR32_1 ||
dstFormat == PIX_FMT_BGR24)))
c->swScale= pal2rgbWrapper;