[Mplayer-cvslog] CVS: main/libmpdemux tv.c,1.22,1.23

Alex Beregszaszi alex at mplayer.dev.hu
Fri Jan 18 20:37:22 CET 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv18670

Modified Files:
	tv.c 
Log Message:
fixed channel changing with frequencies.c

Index: tv.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/tv.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- tv.c	27 Dec 2001 23:52:48 -0000	1.22
+++ tv.c	18 Jan 2002 19:37:12 -0000	1.23
@@ -470,7 +470,7 @@
 
     if (direction == TV_CHANNEL_HIGHER)
     {
-	if (tvh->channel+1 <= chanlists[tvh->chanlist].count)
+	if (tvh->channel+1 < chanlists[tvh->chanlist].count)
 	{
 	    cl = tvh->chanlist_s[tvh->channel++];
 	    mp_msg(MSGT_TV, MSGL_INFO, "Selected channel: %s (freq: %.3f)\n",




More information about the MPlayer-cvslog mailing list