[MPlayer-cvslog] CVS: main/libmpdemux open.c,1.100,1.101

Aurelien Jacobs CVS syncmail at mplayerhq.hu
Fri Dec 3 15:14:32 CET 2004


CVS change done by Aurelien Jacobs CVS

Update of /cvsroot/mplayer/main/libmpdemux
In directory mail:/var2/tmp/cvs-serv10775/libmpdemux

Modified Files:
	open.c 
Log Message:
dvd_aid_from_lang() should return -1 if lang was not found

Index: open.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/open.c,v
retrieving revision 1.100
retrieving revision 1.101
diff -u -r1.100 -r1.101
--- open.c	25 Nov 2004 22:24:00 -0000	1.100
+++ open.c	3 Dec 2004 14:14:29 -0000	1.101
@@ -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)




More information about the MPlayer-cvslog mailing list