Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
3275a171
Commit
3275a171
authored
Dec 09, 2008
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use config_ChainDestroy
parent
151521b6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
50 deletions
+5
-50
modules/stream_out/transcode.c
modules/stream_out/transcode.c
+5
-50
No files found.
modules/stream_out/transcode.c
View file @
3275a171
...
...
@@ -643,68 +643,23 @@ static void Close( vlc_object_t * p_this )
free
(
p_sys
->
psz_af2
);
while
(
p_sys
->
p_audio_cfg
!=
NULL
)
{
config_chain_t
*
p_next
=
p_sys
->
p_audio_cfg
->
p_next
;
free
(
p_sys
->
p_audio_cfg
->
psz_name
);
free
(
p_sys
->
p_audio_cfg
->
psz_value
);
free
(
p_sys
->
p_audio_cfg
);
p_sys
->
p_audio_cfg
=
p_next
;
}
config_ChainDestroy
(
p_sys
->
p_audio_cfg
);
free
(
p_sys
->
psz_aenc
);
free
(
p_sys
->
psz_vf2
);
while
(
p_sys
->
p_video_cfg
!=
NULL
)
{
config_chain_t
*
p_next
=
p_sys
->
p_video_cfg
->
p_next
;
free
(
p_sys
->
p_video_cfg
->
psz_name
);
free
(
p_sys
->
p_video_cfg
->
psz_value
);
free
(
p_sys
->
p_video_cfg
);
p_sys
->
p_video_cfg
=
p_next
;
}
config_ChainDestroy
(
p_sys
->
p_video_cfg
);
free
(
p_sys
->
psz_venc
);
while
(
p_sys
->
p_deinterlace_cfg
!=
NULL
)
{
config_chain_t
*
p_next
=
p_sys
->
p_deinterlace_cfg
->
p_next
;
free
(
p_sys
->
p_deinterlace_cfg
->
psz_name
);
free
(
p_sys
->
p_deinterlace_cfg
->
psz_value
);
free
(
p_sys
->
p_deinterlace_cfg
);
p_sys
->
p_deinterlace_cfg
=
p_next
;
}
config_ChainDestroy
(
p_sys
->
p_deinterlace_cfg
);
free
(
p_sys
->
psz_deinterlace
);
while
(
p_sys
->
p_spu_cfg
!=
NULL
)
{
config_chain_t
*
p_next
=
p_sys
->
p_spu_cfg
->
p_next
;
free
(
p_sys
->
p_spu_cfg
->
psz_name
);
free
(
p_sys
->
p_spu_cfg
->
psz_value
);
free
(
p_sys
->
p_spu_cfg
);
p_sys
->
p_spu_cfg
=
p_next
;
}
config_ChainDestroy
(
p_sys
->
p_spu_cfg
);
free
(
p_sys
->
psz_senc
);
if
(
p_sys
->
p_spu
)
spu_Destroy
(
p_sys
->
p_spu
);
while
(
p_sys
->
p_osd_cfg
!=
NULL
)
{
config_chain_t
*
p_next
=
p_sys
->
p_osd_cfg
->
p_next
;
free
(
p_sys
->
p_osd_cfg
->
psz_name
);
free
(
p_sys
->
p_osd_cfg
->
psz_value
);
free
(
p_sys
->
p_osd_cfg
);
p_sys
->
p_osd_cfg
=
p_next
;
}
config_ChainDestroy
(
p_sys
->
p_osd_cfg
);
free
(
p_sys
->
psz_osdenc
);
vlc_object_release
(
p_sys
);
...
...
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