Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
3e0ef875
Commit
3e0ef875
authored
Jul 21, 2008
by
Rémi Duraffort
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use pl_Release.
parent
494ace96
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
modules/access/cdda.c
modules/access/cdda.c
+1
-1
modules/access/cdda/info.c
modules/access/cdda/info.c
+1
-1
modules/access/directory.c
modules/access/directory.c
+3
-3
No files found.
modules/access/cdda.c
View file @
3e0ef875
...
@@ -209,7 +209,7 @@ static int Open( vlc_object_t *p_this )
...
@@ -209,7 +209,7 @@ static int Open( vlc_object_t *p_this )
msg_Dbg
(
p_playlist
,
"unable to find item in playlist"
);
msg_Dbg
(
p_playlist
,
"unable to find item in playlist"
);
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
}
}
vlc_object_release
(
p_playlist
);
pl_Release
(
p_access
);
}
}
if
(
i_ret
<
0
)
if
(
i_ret
<
0
)
goto
error
;
goto
error
;
...
...
modules/access/cdda/info.c
View file @
3e0ef875
...
@@ -965,7 +965,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
...
@@ -965,7 +965,7 @@ CDDAFixupPlaylist( access_t *p_access, cdda_data_t *p_cdda,
p_playlist
->
status
.
p_item
,
NULL
);
p_playlist
->
status
.
p_item
,
NULL
);
}
}
if
(
p_playlist
)
vlc_object_release
(
p_playlist
);
if
(
p_playlist
)
pl_Release
(
p_access
);
return
VLC_SUCCESS
;
return
VLC_SUCCESS
;
}
}
...
...
modules/access/directory.c
View file @
3e0ef875
...
@@ -215,7 +215,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
...
@@ -215,7 +215,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
if
(
!
p_input
)
if
(
!
p_input
)
{
{
msg_Err
(
p_access
,
"unable to find input (internal error)"
);
msg_Err
(
p_access
,
"unable to find input (internal error)"
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_access
);
return
VLC_ENOOBJ
;
return
VLC_ENOOBJ
;
}
}
...
@@ -226,7 +226,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
...
@@ -226,7 +226,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
{
{
msg_Err
(
p_access
,
"unable to find item in playlist"
);
msg_Err
(
p_access
,
"unable to find item in playlist"
);
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
vlc_object_r
elease
(
p_playlist
);
pl_R
elease
(
p_playlist
);
return
VLC_ENOOBJ
;
return
VLC_ENOOBJ
;
}
}
...
@@ -264,7 +264,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
...
@@ -264,7 +264,7 @@ static ssize_t Read( access_t *p_access, uint8_t *p_buffer, size_t i_len)
free
(
psz_name
);
free
(
psz_name
);
vlc_object_release
(
p_input
);
vlc_object_release
(
p_input
);
vlc_object_release
(
p_playlist
);
pl_Release
(
p_access
);
/* Return fake data forever */
/* Return fake data forever */
p_access
->
pf_read
=
ReadNull
;
p_access
->
pf_read
=
ReadNull
;
...
...
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