Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
13caaaf3
Commit
13caaaf3
authored
Dec 12, 2014
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
swscale: remove constant parameter
parent
70ac90e0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
modules/video_chroma/swscale.c
modules/video_chroma/swscale.c
+6
-7
No files found.
modules/video_chroma/swscale.c
View file @
13caaaf3
...
...
@@ -85,8 +85,7 @@ vlc_module_end ()
*/
struct
filter_sys_t
{
SwsFilter
*
p_src_filter
;
SwsFilter
*
p_dst_filter
;
SwsFilter
*
p_filter
;
int
i_cpu_mask
,
i_sws_flags
;
video_format_t
fmt_in
;
...
...
@@ -183,8 +182,8 @@ static int OpenScaler( vlc_object_t *p_this )
if
(
Init
(
p_filter
)
)
{
if
(
p_sys
->
p_
src_
filter
)
sws_freeFilter
(
p_sys
->
p_
src_
filter
);
if
(
p_sys
->
p_filter
)
sws_freeFilter
(
p_sys
->
p_filter
);
free
(
p_sys
);
return
VLC_EGENERIC
;
}
...
...
@@ -213,8 +212,8 @@ static void CloseScaler( vlc_object_t *p_this )
filter_sys_t
*
p_sys
=
p_filter
->
p_sys
;
Clean
(
p_filter
);
if
(
p_sys
->
p_
src_
filter
)
sws_freeFilter
(
p_sys
->
p_
src_
filter
);
if
(
p_sys
->
p_filter
)
sws_freeFilter
(
p_sys
->
p_filter
);
free
(
p_sys
);
}
...
...
@@ -416,7 +415,7 @@ static int Init( filter_t *p_filter )
ctx
=
sws_getContext
(
iwidth
,
iheight
,
i_fmti
,
owidth
,
oheight
,
i_fmto
,
cfg
.
i_sws_flags
|
p_sys
->
i_cpu_mask
,
p_sys
->
p_
src_filter
,
p_sys
->
p_dst_filter
,
0
);
p_sys
->
p_
filter
,
NULL
,
0
);
if
(
n
==
0
)
p_sys
->
ctx
=
ctx
;
else
...
...
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