Revision 22b6a24c

View differences:

libswscale/utils.c
1567 1567
        param = default_param;
1568 1568

  
1569 1569
    if (context &&
1570
        (context->srcW != srcW || context->srcH != srcH ||
1571
            context->srcFormat != srcFormat ||
1572
            context->dstW != dstW || context->dstH != dstH ||
1573
            context->dstFormat != dstFormat || context->flags != flags ||
1574
            context->param[0] != param[0] || context->param[1] != param[1]))
1570
        (context->srcW      != srcW      ||
1571
         context->srcH      != srcH      ||
1572
         context->srcFormat != srcFormat ||
1573
         context->dstW      != dstW      ||
1574
         context->dstH      != dstH      ||
1575
         context->dstFormat != dstFormat ||
1576
         context->flags     != flags     ||
1577
         context->param[0]  != param[0]  ||
1578
         context->param[1]  != param[1]))
1575 1579
        {
1576 1580
            sws_freeContext(context);
1577 1581
            context = NULL;

Also available in: Unified diff