mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 18:01:13 +02:00
driver/netfile.cpp: fix crash, id3 struct not initialized
This commit is contained in:
@@ -340,6 +340,7 @@ int request_file(URL *url)
|
|||||||
char str[255], *ptr;
|
char str[255], *ptr;
|
||||||
int slot;
|
int slot;
|
||||||
ID3 id3;
|
ID3 id3;
|
||||||
|
memset(&id3, 0, sizeof(ID3));
|
||||||
|
|
||||||
/* get the cache slot for this stream. A negative return value */
|
/* get the cache slot for this stream. A negative return value */
|
||||||
/* indicates that no cache has been set up for this stream */
|
/* indicates that no cache has been set up for this stream */
|
||||||
|
Reference in New Issue
Block a user