Revision aa2ead82

View differences:

libswscale/swscale.c
1661 1661
    int needsDither;
1662 1662

  
1663 1663
    needsDither= (isBGR(dstFormat) || isRGB(dstFormat))
1664
        &&  c->srcFormatBpp < 24
1664
        &&  c->dstFormatBpp < 24
1665 1665
        && (c->dstFormatBpp < c->srcFormatBpp || (!(isRGB(srcFormat) || isBGR(srcFormat))));
1666 1666

  
1667 1667
    /* yv12_to_nv12 */

Also available in: Unified diff