Commit 2d28950d authored by Michael Niedermayer's avatar Michael Niedermayer

swscale/utils: remove redundant NULL checks before sws_freeVec()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent a446657d
......@@ -1953,14 +1953,10 @@ void sws_freeFilter(SwsFilter *filter)
if (!filter)
return;
if (filter->lumH)
sws_freeVec(filter->lumH);
if (filter->lumV)
sws_freeVec(filter->lumV);
if (filter->chrH)
sws_freeVec(filter->chrH);
if (filter->chrV)
sws_freeVec(filter->chrV);
sws_freeVec(filter->lumH);
sws_freeVec(filter->lumV);
sws_freeVec(filter->chrH);
sws_freeVec(filter->chrV);
av_free(filter);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment