Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
6b09e4da
Commit
6b09e4da
authored
Oct 26, 2008
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
input_stream: added input_stream_global_finish()
The hook input_stream_global_finish() deinitializes global structures of all input stream implementations.
parent
4bc2def1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
0 deletions
+7
-0
inputStream.c
src/inputStream.c
+4
-0
inputStream.h
src/inputStream.h
+2
-0
main.c
src/main.c
+1
-0
No files found.
src/inputStream.c
View file @
6b09e4da
...
...
@@ -29,6 +29,10 @@ void initInputStream(void)
inputStream_initHttp
();
}
void
input_stream_global_finish
(
void
)
{
}
int
openInputStream
(
struct
input_stream
*
inStream
,
char
*
url
)
{
inStream
->
ready
=
0
;
...
...
src/inputStream.h
View file @
6b09e4da
...
...
@@ -47,6 +47,8 @@ struct input_stream {
void
initInputStream
(
void
);
void
input_stream_global_finish
(
void
);
int
isUrlSaneForInputStream
(
char
*
url
);
/* if an error occurs for these 3 functions, then -1 is returned and errno
...
...
src/main.c
View file @
6b09e4da
...
...
@@ -475,6 +475,7 @@ int main(int argc, char *argv[])
deinit_main_notify
();
input_stream_global_finish
();
finishNormalization
();
finishAudioDriver
();
finishAudioConfig
();
...
...
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