Revision e76709d8 libswscale/swscale.c

View differences:

libswscale/swscale.c
2331 2331
        {
2332 2332
            c->swScale= PlanarToNV12Wrapper;
2333 2333
        }
2334
#if CONFIG_GPL
2335 2334
        /* yuv2bgr */
2336 2335
        if ((srcFormat==PIX_FMT_YUV420P || srcFormat==PIX_FMT_YUV422P) && (isBGR(dstFormat) || isRGB(dstFormat))
2337 2336
            && !(flags & SWS_ACCURATE_RND) && !(dstH&1))
2338 2337
        {
2339 2338
            c->swScale= sws_yuv2rgb_get_func_ptr(c);
2340 2339
        }
2341
#endif
2342 2340

  
2343 2341
        if (srcFormat==PIX_FMT_YUV410P && dstFormat==PIX_FMT_YUV420P && !(flags & SWS_BITEXACT))
2344 2342
        {

Also available in: Unified diff