archive: replaced setup_stream() with open_stream()
The open_stream() method opens the input_stream. This allows the archive plugin to do its own initialization, and it also allows it to use input_stream.data. We can remove input_stream.archive now, which was unnatural to have in the first place.
This commit is contained in:
@@ -127,7 +127,7 @@ static void decoder_run_song(const struct song *song, const char *uri)
|
||||
pcm_convert_init(&decoder.conv_state);
|
||||
|
||||
ret = false;
|
||||
if (!song_is_file(song)) {
|
||||
if (!song_is_file(song) || true) {
|
||||
unsigned int next = 0;
|
||||
|
||||
/* first we try mime types: */
|
||||
|
||||
Reference in New Issue
Block a user