# HG changeset patch # User alex # Date 1011382632 0 # Node ID bbfbe9bbb956373bae81edb7856b5523ba10f3c7 # Parent 817742049fa0477f4d07a8ce80b16399b4436457 fixed channel changing with frequencies.c diff -r 817742049fa0 -r bbfbe9bbb956 libmpdemux/tv.c --- 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",