Mercurial > mplayer.hg
changeset 32309:f0247fec1cd7
100l fix if condition
author | bcoudurier |
---|---|
date | Mon, 27 Sep 2010 23:47:54 +0000 |
parents | ecb8e52d4add |
children | 3456af9feaa3 |
files | libswscale/swscale.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale.c Mon Sep 27 22:24:03 2010 +0000 +++ b/libswscale/swscale.c Mon Sep 27 23:47:54 2010 +0000 @@ -1941,7 +1941,7 @@ 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);