From c4f83ac6e93ec9ff2fe97b3f5c6fccc9751fa3e2 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sun, 7 Jul 2013 20:49:15 +0200 Subject: stream: remove weird STREAMTYPE_STREAM special handling This was an old leftover from an earlier cleanup (which happened in 2003), and which used "special" stuff for streams that could be only forward-seeked. Also, don't add mode flags to s->flags; they're supposed to be in s->mode instead. --- stream/stream_bluray.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream/stream_bluray.c') diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c index 06d1e88b99..64d1856873 100644 --- a/stream/stream_bluray.c +++ b/stream/stream_bluray.c @@ -407,7 +407,7 @@ err_no_info: s->end_pos = title_size; s->sector_size = BLURAY_SECTOR_SIZE; - s->flags = mode | MP_STREAM_SEEK; + s->flags = MP_STREAM_SEEK; s->priv = b; s->type = STREAMTYPE_BLURAY; s->url = strdup("br://"); -- cgit v1.2.3