Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
2d28950d
Commit
2d28950d
authored
Sep 17, 2013
by
Michael Niedermayer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale/utils: remove redundant NULL checks before sws_freeVec()
Signed-off-by:
Michael Niedermayer
<
michaelni@gmx.at
>
parent
a446657d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
8 deletions
+4
-8
utils.c
libswscale/utils.c
+4
-8
No files found.
libswscale/utils.c
View file @
2d28950d
...
...
@@ -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
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment