mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
driver/netfile.cpp: fix warning
This commit is contained in:
@@ -577,7 +577,6 @@ int parse_response(URL *url, void *opt, CSTATE *state)
|
|||||||
int hlen = 0, response;
|
int hlen = 0, response;
|
||||||
int meta_interval = 0, rval;
|
int meta_interval = 0, rval;
|
||||||
int fd = url->fd;
|
int fd = url->fd;
|
||||||
ID3 *id3 = (ID3*)opt;
|
|
||||||
|
|
||||||
memset(header, 0, 2048);
|
memset(header, 0, 2048);
|
||||||
ptr = header;
|
ptr = header;
|
||||||
@@ -672,6 +671,7 @@ int parse_response(URL *url, void *opt, CSTATE *state)
|
|||||||
getHeaderVal("icy-br:", state->bitrate);
|
getHeaderVal("icy-br:", state->bitrate);
|
||||||
}
|
}
|
||||||
#if 0
|
#if 0
|
||||||
|
ID3 *id3 = (ID3*)opt;
|
||||||
/********************* dirty hack **********************/
|
/********************* dirty hack **********************/
|
||||||
/* we parse the stream header sent by the server and */
|
/* we parse the stream header sent by the server and */
|
||||||
/* build based on this information an arteficial id3 */
|
/* build based on this information an arteficial id3 */
|
||||||
|
Reference in New Issue
Block a user