Revision bd8154d0

View differences:

libswscale/swscale.c
1941 1941
                r= (i>>3    )*255;
1942 1942
                g= ((i>>1)&3)*85;
1943 1943
                b= (i&1     )*255;
1944
            } else if(c->srcFormat == PIX_FMT_GRAY8 || PIX_FMT_Y400A) {
1944
            } else if(c->srcFormat == PIX_FMT_GRAY8 || c->srcFormat == PIX_FMT_Y400A) {
1945 1945
                r = g = b = i;
1946 1946
            } else {
1947 1947
                assert(c->srcFormat == PIX_FMT_BGR4_BYTE);

Also available in: Unified diff