input_stream: added input_stream_global_finish()
The hook input_stream_global_finish() deinitializes global structures of all input stream implementations.
This commit is contained in:
parent
4bc2def15c
commit
6b09e4daef
@ -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;
|
||||
|
@ -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
|
||||
|
@ -475,6 +475,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
deinit_main_notify();
|
||||
|
||||
input_stream_global_finish();
|
||||
finishNormalization();
|
||||
finishAudioDriver();
|
||||
finishAudioConfig();
|
||||
|
Loading…
Reference in New Issue
Block a user