mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Vertically align a list of comparisons in sws_getCachedContext().
Originally committed as revision 30642 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
This commit is contained in:
parent
5a011d8b08
commit
22b6a24c34
@ -1567,11 +1567,15 @@ struct SwsContext *sws_getCachedContext(struct SwsContext *context,
|
||||
param = default_param;
|
||||
|
||||
if (context &&
|
||||
(context->srcW != srcW || context->srcH != srcH ||
|
||||
context->srcFormat != srcFormat ||
|
||||
context->dstW != dstW || context->dstH != dstH ||
|
||||
context->dstFormat != dstFormat || context->flags != flags ||
|
||||
context->param[0] != param[0] || context->param[1] != param[1]))
|
||||
(context->srcW != srcW ||
|
||||
context->srcH != srcH ||
|
||||
context->srcFormat != srcFormat ||
|
||||
context->dstW != dstW ||
|
||||
context->dstH != dstH ||
|
||||
context->dstFormat != dstFormat ||
|
||||
context->flags != flags ||
|
||||
context->param[0] != param[0] ||
|
||||
context->param[1] != param[1]))
|
||||
{
|
||||
sws_freeContext(context);
|
||||
context = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user