diff options
author | wm4 <wm4@nowhere> | 2013-12-21 20:36:45 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-12-21 21:43:16 +0100 |
commit | 0335011f11d9d13f70db6c46ed6189a74d48ec67 (patch) | |
tree | 03a146b06b5a8c405f5c521abadeeea35c296920 /stream/rar.c | |
parent | 3dbc9007b080028f0aebbbf8b9ab1233cd70c45b (diff) | |
download | mpv-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/rar.c')
-rw-r--r-- | stream/rar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/stream/rar.c b/stream/rar.c index cb54c6ebbb..31211c777b 100644 --- a/stream/rar.c +++ b/stream/rar.c @@ -198,7 +198,7 @@ static int SkipFile(struct stream *s, int *count, rar_file_t ***file, rar_file_t *current = NULL; if (method != 0x30) { - mp_msg(MSGT_STREAM, MSGL_WARN, "Ignoring compressed file %s (method=0x%2.2x)\n", name, method); + MP_WARN(s, "Ignoring compressed file %s (method=0x%2.2x)\n", name, method); goto exit; } @@ -386,7 +386,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->opts); + vol = stream_create(volume_mrl, STREAM_READ | STREAM_NO_FILTERS, s->global); if (!vol) goto done; @@ -423,7 +423,7 @@ int RarSeek(rar_file_t *file, uint64_t position) free_stream(file->s); file->s = stream_create(file->current_chunk->mrl, STREAM_READ | STREAM_NO_FILTERS, - file->opts); + file->global); } return file->s ? stream_seek(file->s, offset) : 0; } |