Revision 0c067dc3 libswscale/swscale.c

View differences:

libswscale/swscale.c
2294 2294
    c->saturation= saturation;
2295 2295
    c->srcRange  = srcRange;
2296 2296
    c->dstRange  = dstRange;
2297
    if (isYUV(c->dstFormat) || isGray(c->dstFormat)) return 0;
2297
    if (isYUV(c->dstFormat) || isGray(c->dstFormat)) return -1;
2298 2298

  
2299 2299
    c->uOffset=   0x0400040004000400LL;
2300 2300
    c->vOffset=   0x0400040004000400LL;

Also available in: Unified diff