aboutsummaryrefslogtreecommitdiffstats
path: root/libswscale
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-09-27 23:47:54 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2010-09-27 23:47:54 +0000
commitbd8154d0b337e7a9f4dd1a728f4409fbe37c8fea (patch)
treea12b30e27ddbc6ea226ac4a0d27bd29dbf1e90a0 /libswscale
parentdf0743e01e9fb88b9eb67815bacc2fe89e313eff (diff)
downloadffmpeg-bd8154d0b337e7a9f4dd1a728f4409fbe37c8fea.tar.gz
100l fix if condition
Originally committed as revision 32395 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale')
-rw-r--r--libswscale/swscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libswscale/swscale.c b/libswscale/swscale.c
index aa400f6094..375171f895 100644
--- a/libswscale/swscale.c
+++ b/libswscale/swscale.c
@@ -1941,7 +1941,7 @@ int sws_scale(SwsContext *c, const uint8_t* const src[], const int srcStride[],
r= (i>>3 )*255;
g= ((i>>1)&3)*85;
b= (i&1 )*255;
- } else if(c->srcFormat == PIX_FMT_GRAY8 || PIX_FMT_Y400A) {
+ } else if(c->srcFormat == PIX_FMT_GRAY8 || c->srcFormat == PIX_FMT_Y400A) {
r = g = b = i;
} else {
assert(c->srcFormat == PIX_FMT_BGR4_BYTE);