From 4f189e95f923bdeaf371164281a61cff4c31a76f Mon Sep 17 00:00:00 2001 From: phintuka Date: Mon, 13 Dec 2010 14:32:40 +0000 Subject: Fixed seek when title not opened. (Fixes segfault in demuxer autodetection) --- xine/BluRay/input_bluray.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index 2ee39c2a..d466f612 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -670,6 +670,8 @@ static off_t bluray_plugin_seek (input_plugin_t *this_gen, off_t offset, int ori if (!this || !this->bdh) return -1; + if (this->current_title_idx < 0) + return offset; /* convert relative seeks to absolute */ -- cgit v1.2.3