diff options
author | phintuka <phintuka> | 2010-06-13 20:10:33 +0000 |
---|---|---|
committer | phintuka <phintuka> | 2010-06-13 20:10:33 +0000 |
commit | 6173a7bbc69c92e78e653a282b33f70508ae440d (patch) | |
tree | f6fe168b6151177f7540b41992b2c0067a1ee758 | |
parent | 773199384c014cd2fc25c2df60a4ea94ee5e2654 (diff) | |
download | xineliboutput-6173a7bbc69c92e78e653a282b33f70508ae440d.tar.gz xineliboutput-6173a7bbc69c92e78e653a282b33f70508ae440d.tar.bz2 |
Use bd_get_title_size()
-rw-r--r-- | xine/BluRay/input_bluray.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index ac485b68..ec93da51 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -250,7 +250,7 @@ static off_t bluray_plugin_seek (input_plugin_t *this_gen, off_t offset, int ori offset = bd_tell(this->bdh) + offset; } else if (origin == SEEK_END) { - if (offset < this->bdh->s_size) + if (offset < bd_get_title_size(this->bdh)) offset = bd_get_title_size(this->bdh) - offset; else offset = 0; |