From fbf76da913b2d39a7da3cc7cea3d8b61f3c2f540 Mon Sep 17 00:00:00 2001 From: wm4 Date: Fri, 27 Feb 2015 19:51:14 +0100 Subject: stream: remove stream filter concept Unused since the previous commit. (Apparently it was a stupid idea.) --- stream/rar.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'stream/rar.c') diff --git a/stream/rar.c b/stream/rar.c index 9d8b64717a..d0dbc8d736 100644 --- a/stream/rar.c +++ b/stream/rar.c @@ -385,8 +385,7 @@ int RarParse(struct stream *s, int *count, rar_file_t ***file) if (!volume_mrl) goto done; - vol = stream_create(volume_mrl, STREAM_READ | STREAM_NO_FILTERS, - s->cancel, s->global); + vol = stream_create(volume_mrl, STREAM_READ, s->cancel, s->global); if (!vol) goto done; @@ -421,8 +420,7 @@ int RarSeek(rar_file_t *file, uint64_t position) if (strcmp(old_chunk->mrl, file->current_chunk->mrl)) { if (file->s) free_stream(file->s); - file->s = stream_create(file->current_chunk->mrl, - STREAM_READ | STREAM_NO_FILTERS, + file->s = stream_create(file->current_chunk->mrl, STREAM_READ, file->cancel, file->global); } return file->s ? stream_seek(file->s, offset) : 0; -- cgit v1.2.3