driver/netfile.cpp: fix crash, id3 struct not initialized

This commit is contained in:
[CST] Focus
2013-09-06 18:32:53 +04:00
parent 7d1cb075e9
commit 06e6fa5415

View File

@@ -340,6 +340,7 @@ int request_file(URL *url)
char str[255], *ptr;
int slot;
ID3 id3;
memset(&id3, 0, sizeof(ID3));
/* get the cache slot for this stream. A negative return value */
/* indicates that no cache has been set up for this stream */