Mercurial > mplayer.hg
changeset 14092:5a310666c054
dvd_aid_from_lang() should return -1 if lang was not found
author | aurel |
---|---|
date | Fri, 03 Dec 2004 14:14:29 +0000 |
parents | 08ad36d32696 |
children | 3bf74bf969ff |
files | libmpdemux/open.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpdemux/open.c Fri Dec 03 00:41:35 2004 +0000 +++ b/libmpdemux/open.c Fri Dec 03 14:14:29 2004 +0000 @@ -645,7 +645,7 @@ } 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)