mirror of
https://github.com/mpv-player/mpv
synced 2025-01-14 11:01:35 +00:00
gcc 2.95 fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20164 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
884d24616d
commit
ee88e6f26f
@ -142,10 +142,10 @@ int dvd_chapter_from_cell(dvd_priv_t* dvd,int title,int cell)
|
||||
|
||||
int dvd_lang_from_aid(stream_t *stream, int id) {
|
||||
dvd_priv_t *d;
|
||||
int i;
|
||||
if (!stream) return 0;
|
||||
d = stream->priv;
|
||||
if (!d) return 0;
|
||||
int i;
|
||||
for(i=0;i<d->nr_of_channels;i++) {
|
||||
if(d->audio_streams[i].id==id)
|
||||
return d->audio_streams[i].language;
|
||||
|
Loading…
Reference in New Issue
Block a user