From 0335011f11d9d13f70db6c46ed6189a74d48ec67 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 21 Dec 2013 20:36:45 +0100 Subject: stream: mp_msg conversions We also drop some slave mode stuff from stream_vcd. --- stream/rar.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'stream/rar.c') 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; } -- cgit v1.2.3