From 73ebc90a1f8b4e11ebae8e35d3256b09ba802d0a Mon Sep 17 00:00:00 2001 From: "[CST] Focus" Date: Thu, 5 Dec 2013 14:15:11 +0400 Subject: [PATCH] driver/netfile.cpp: fix warning --- src/driver/netfile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/driver/netfile.cpp b/src/driver/netfile.cpp index 0c35bdbcc..fa88baf1a 100644 --- a/src/driver/netfile.cpp +++ b/src/driver/netfile.cpp @@ -577,7 +577,6 @@ int parse_response(URL *url, void *opt, CSTATE *state) int hlen = 0, response; int meta_interval = 0, rval; int fd = url->fd; - ID3 *id3 = (ID3*)opt; memset(header, 0, 2048); ptr = header; @@ -672,6 +671,7 @@ int parse_response(URL *url, void *opt, CSTATE *state) getHeaderVal("icy-br:", state->bitrate); } #if 0 + ID3 *id3 = (ID3*)opt; /********************* dirty hack **********************/ /* we parse the stream header sent by the server and */ /* build based on this information an arteficial id3 */