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
6c636f2c
Commit
6c636f2c
authored
Apr 19, 2013
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
visual: remove write only field psz_args
parent
1f02e8c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
8 deletions
+0
-8
modules/visualization/visual/visual.c
modules/visualization/visual/visual.c
+0
-7
modules/visualization/visual/visual.h
modules/visualization/visual/visual.h
+0
-1
No files found.
modules/visualization/visual/visual.c
View file @
6c636f2c
...
...
@@ -222,7 +222,6 @@ static int Open( vlc_object_t *p_this )
p_effect
->
i_idx_left
=
0
;
p_effect
->
i_idx_right
=
__MIN
(
1
,
p_effect
->
i_nb_chans
-
1
);
p_effect
->
psz_args
=
NULL
;
p_effect
->
p_data
=
NULL
;
p_effect
->
pf_run
=
NULL
;
...
...
@@ -256,8 +255,6 @@ static int Open( vlc_object_t *p_this )
free
(
p_effect
);
break
;
}
p_effect
->
psz_args
=
strndup
(
psz_parser
,
psz_eoa
-
psz_parser
);
}
TAB_APPEND
(
p_sys
->
i_effect
,
p_sys
->
effect
,
p_effect
);
}
...
...
@@ -305,10 +302,7 @@ static int Open( vlc_object_t *p_this )
{
msg_Err
(
p_filter
,
"no suitable vout module"
);
for
(
int
i
=
0
;
i
<
p_sys
->
i_effect
;
i
++
)
{
free
(
p_sys
->
effect
[
i
]
->
psz_args
);
free
(
p_sys
->
effect
[
i
]
);
}
free
(
p_sys
->
effect
);
free
(
p_sys
);
return
VLC_EGENERIC
;
...
...
@@ -394,7 +388,6 @@ static void Close( vlc_object_t *p_this )
}
free
(
p_effect
->
p_data
);
}
free
(
p_effect
->
psz_args
);
free
(
p_effect
);
#undef p_effect
}
...
...
modules/visualization/visual/visual.h
View file @
6c636f2c
...
...
@@ -30,7 +30,6 @@ typedef struct visual_effect_t
void
*
p_data
;
/* The effect stores whatever it wants here */
int
i_width
;
int
i_height
;
char
*
psz_args
;
int
i_nb_chans
;
/* Channels index */
...
...
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