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
b56e2184
Commit
b56e2184
authored
Mar 10, 2005
by
Clément Stenac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix refcount problems + fix a part of coding style problems
parent
2479a41d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
336 additions
and
332 deletions
+336
-332
modules/access/vcdx/access.c
modules/access/vcdx/access.c
+336
-332
No files found.
modules/access/vcdx/access.c
View file @
b56e2184
...
@@ -549,7 +549,6 @@ VCDLIDs( access_t * p_access )
...
@@ -549,7 +549,6 @@ VCDLIDs( access_t * p_access )
size associated with it */
size associated with it */
s
->
psz_name
=
strdup
(
psz_lid
);
s
->
psz_name
=
strdup
(
psz_lid
);
TAB_APPEND
(
t
->
i_seekpoint
,
t
->
seekpoint
,
s
);
TAB_APPEND
(
t
->
i_seekpoint
,
t
->
seekpoint
,
s
);
}
}
#if DYNAMICALLY_ALLOCATED
#if DYNAMICALLY_ALLOCATED
...
@@ -808,7 +807,6 @@ vcd_Open( vlc_object_t *p_this, const char *psz_dev )
...
@@ -808,7 +807,6 @@ vcd_Open( vlc_object_t *p_this, const char *psz_dev )
}
else
}
else
p_vcdplayer
->
segment
=
NULL
;
p_vcdplayer
->
segment
=
NULL
;
return
p_vcdobj
;
return
p_vcdobj
;
}
}
...
@@ -979,6 +977,8 @@ VCDOpen ( vlc_object_t *p_this )
...
@@ -979,6 +977,8 @@ VCDOpen ( vlc_object_t *p_this )
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
err_exit:
err_exit:
if
(
p_vcdplayer
->
p_input
)
vlc_object_release
(
p_vcdplayer
->
p_input
);
if
(
p_vcdplayer
->
p_demux
)
vlc_object_release
(
p_vcdplayer
->
p_demux
);
free
(
psz_source
);
free
(
psz_source
);
free
(
p_vcdplayer
);
free
(
p_vcdplayer
);
return
VLC_EGENERIC
;
return
VLC_EGENERIC
;
...
@@ -997,6 +997,10 @@ VCDClose ( vlc_object_t *p_this )
...
@@ -997,6 +997,10 @@ VCDClose ( vlc_object_t *p_this )
vcdinfo_close
(
p_vcdplayer
->
vcd
);
vcdinfo_close
(
p_vcdplayer
->
vcd
);
if
(
p_vcdplayer
->
p_input
)
vlc_object_release
(
p_vcdplayer
->
p_input
);
if
(
p_vcdplayer
->
p_demux
)
vlc_object_release
(
p_vcdplayer
->
p_demux
);
FREE_AND_NULL
(
p_vcdplayer
->
p_entries
);
FREE_AND_NULL
(
p_vcdplayer
->
p_entries
);
FREE_AND_NULL
(
p_vcdplayer
->
p_segments
);
FREE_AND_NULL
(
p_vcdplayer
->
p_segments
);
FREE_AND_NULL
(
p_vcdplayer
->
psz_source
);
FREE_AND_NULL
(
p_vcdplayer
->
psz_source
);
...
...
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