diff options
| author | phintuka <phintuka> | 2011-12-15 09:10:55 +0000 |
|---|---|---|
| committer | phintuka <phintuka> | 2011-12-15 09:10:55 +0000 |
| commit | 625648b683c10c2b82ebe3be808d1692bed1d12d (patch) | |
| tree | facb81a8e73606736c01c075f831213d0501ebf7 | |
| parent | 5d732191dd610553275e126eb5335f726caed975 (diff) | |
| download | xineliboutput-625648b683c10c2b82ebe3be808d1692bed1d12d.tar.gz xineliboutput-625648b683c10c2b82ebe3be808d1692bed1d12d.tar.bz2 | |
Fixed track languages
| -rw-r--r-- | xine/BluRay/input_bluray.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xine/BluRay/input_bluray.c b/xine/BluRay/input_bluray.c index 7cebde4a..d4c233eb 100644 --- a/xine/BluRay/input_bluray.c +++ b/xine/BluRay/input_bluray.c @@ -1206,7 +1206,7 @@ static int get_optional_data_impl (bluray_input_plugin_t *this, void *data, int * - channel number can be mpeg-ts PID (0x1100 ... 0x11ff) */ case INPUT_OPTIONAL_DATA_AUDIOLANG: - if (this->title_info && this->title_info->clip_count < current_clip) { + if (this->title_info && current_clip < this->title_info->clip_count) { int channel = *((int *)data); BLURAY_CLIP_INFO *clip = &this->title_info->clips[current_clip]; @@ -1236,7 +1236,7 @@ static int get_optional_data_impl (bluray_input_plugin_t *this, void *data, int * - channel number can be mpeg-ts PID (0x1200 ... 0x12ff) */ case INPUT_OPTIONAL_DATA_SPULANG: - if (this->title_info && this->title_info->clip_count < current_clip) { + if (this->title_info && current_clip < this->title_info->clip_count) { int channel = *((int *)data); BLURAY_CLIP_INFO *clip = &this->title_info->clips[current_clip]; |
