mirror of https://github.com/mpv-player/mpv
Vertically align a list of comparisons in sws_getCachedContext().
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30642 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
b07bf5bddc
commit
8090adeed3
|
@ -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