diff options
author | wm4 <wm4@nowhere> | 2015-02-27 19:51:14 +0100 |
---|---|---|
committer | Diogo Franco (Kovensky) <diogomfranco@gmail.com> | 2015-03-03 16:02:07 +0900 |
commit | 517f15dc497ed9b5f5c44ff3574395a97eaa234f (patch) | |
tree | 74ce9a0c9e2e2b738256c1616b7e01b48a742a13 /stream/rar.c | |
parent | 62cf557b5f02590893d36a5cf8a261e845fc3e15 (diff) | |
download | mpv-517f15dc497ed9b5f5c44ff3574395a97eaa234f.tar.bz2 mpv-517f15dc497ed9b5f5c44ff3574395a97eaa234f.tar.xz |
stream: remove stream filter concept
Unused since the previous commit. (Apparently it was a stupid idea.)
(cherry picked from commit fbf76da913b2d39a7da3cc7cea3d8b61f3c2f540)
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; |