summaryrefslogtreecommitdiffstats
path: root/stream/stream_rar.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-12-21 20:36:45 +0100
committerwm4 <wm4@nowhere>2013-12-21 21:43:16 +0100
commit0335011f11d9d13f70db6c46ed6189a74d48ec67 (patch)
tree03a146b06b5a8c405f5c521abadeeea35c296920 /stream/stream_rar.c
parent3dbc9007b080028f0aebbbf8b9ab1233cd70c45b (diff)
downloadmpv-0335011f11d9d13f70db6c46ed6189a74d48ec67.tar.bz2
mpv-0335011f11d9d13f70db6c46ed6189a74d48ec67.tar.xz
stream: mp_msg conversions
We also drop some slave mode stuff from stream_vcd.
Diffstat (limited to 'stream/stream_rar.c')
-rw-r--r--stream/stream_rar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/stream/stream_rar.c b/stream/stream_rar.c
index 5b6880fbe1..cae5e02020 100644
--- a/stream/stream_rar.c
+++ b/stream/stream_rar.c
@@ -97,7 +97,7 @@ static int rar_entry_open(stream_t *stream, int mode)
mp_url_unescape_inplace(base);
struct stream *rar =
- stream_create(base, STREAM_READ | STREAM_NO_FILTERS, stream->opts);
+ stream_create(base, STREAM_READ | STREAM_NO_FILTERS, stream->global);
if (!rar)
return STREAM_ERROR;
@@ -126,7 +126,7 @@ static int rar_entry_open(stream_t *stream, int mode)
};
file->current_chunk = &dummy;
file->s = rar; // transfer ownership
- file->opts = stream->opts;
+ file->global = stream->global;
RarSeek(file, 0);
stream->priv = file;