input_stream: forward-declare the struct

Hide the definition from C code, to prepare the transition to C++.
This commit is contained in:
Max Kellermann
2013-01-24 19:14:40 +01:00
parent 3203a7dd8c
commit 0273cd44b0
40 changed files with 270 additions and 144 deletions

View File

@@ -242,8 +242,7 @@ lastfm_open_uri(const char *uri, GMutex *mutex, GCond *cond)
/* last.fm does not send a MIME type, we have to fake it here
:-( */
g_free(playlist->is->mime);
playlist->is->mime = g_strdup("application/xspf+xml");
input_stream_override_mime_type(playlist->is, "application/xspf+xml");
g_mutex_unlock(mutex);