diff options
Diffstat (limited to 'stream/rar.c')
-rw-r--r-- | stream/rar.c | 6 |
1 files changed, 2 insertions, 4 deletions
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; |