diff options
author | phintuka <phintuka> | 2010-12-13 14:32:40 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-12-13 14:32:40 +0000 |
commit | 4f189e95f923bdeaf371164281a61cff4c31a76f (patch) | |
tree | d12e9c66e516823f3e5fec9f97e2a4a50c0ee759 | |
parent | 76060763c31a9ac238aa74b8e559fdae9a72be3d (diff) | |
download | xineliboutput-4f189e95f923bdeaf371164281a61cff4c31a76f.tar.gz xineliboutput-4f189e95f923bdeaf371164281a61cff4c31a76f.tar.bz2 |
Fixed seek when title not opened.
(Fixes segfault in demuxer autodetection)
-rw-r--r-- | xine/BluRay/input_bluray.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ |