changeset 4242:bbfbe9bbb956

fixed channel changing with frequencies.c
author alex
date Fri, 18 Jan 2002 19:37:12 +0000
parents 817742049fa0
children 05ad38cc0338
files libmpdemux/tv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tv.c	Fri Jan 18 18:15:43 2002 +0000
+++ b/libmpdemux/tv.c	Fri Jan 18 19:37:12 2002 +0000
@@ -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",