mirror of
https://github.com/mpv-player/mpv
synced 2025-01-09 01:36:25 +01:00
dvd_aid_from_lang() should return -1 if lang was not found
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14093 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c3e1b1f6c7
commit
d8f4d25d0b
@ -645,7 +645,7 @@ if(lang){
|
||||
}
|
||||
mp_msg(MSGT_OPEN,MSGL_WARN,"No matching DVD audio language found!\n");
|
||||
}
|
||||
return d->nr_of_channels ? d->audio_streams[0].id : -1;
|
||||
return -1;
|
||||
}
|
||||
|
||||
int dvd_number_of_subs(stream_t *stream)
|
||||
|
Loading…
Reference in New Issue
Block a user