summaryrefslogtreecommitdiffstats
path: root/stream/rar.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-02-27 19:51:14 +0100
committerwm4 <wm4@nowhere>2015-02-27 19:51:14 +0100
commitfbf76da913b2d39a7da3cc7cea3d8b61f3c2f540 (patch)
treebb621487e15acecb2e1c1e94aab1125138d21931 /stream/rar.c
parent5824eb7107a612880f68cc8e4f42cfff1bbf88ba (diff)
downloadmpv-fbf76da913b2d39a7da3cc7cea3d8b61f3c2f540.tar.bz2
mpv-fbf76da913b2d39a7da3cc7cea3d8b61f3c2f540.tar.xz
stream: remove stream filter concept
Unused since the previous commit. (Apparently it was a stupid idea.)
Diffstat (limited to 'stream/rar.c')
-rw-r--r--stream/rar.c6
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;