diff options
author | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-18 19:37:12 +0000 |
---|---|---|
committer | alex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-18 19:37:12 +0000 |
commit | b12f0499428dec4f984c0d318e988a87d4cc983c (patch) | |
tree | 094f96802cc537dbf81e7ce39ab5977ede3f4f94 /libmpdemux | |
parent | fd48206c566e0fe17f5c78e32fdd3bebf744b98a (diff) |
fixed channel changing with frequencies.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4243 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r-- | libmpdemux/tv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/tv.c b/libmpdemux/tv.c index 144230ff91..4cfc6827d9 100644 --- a/libmpdemux/tv.c +++ b/libmpdemux/tv.c @@ -470,7 +470,7 @@ int tv_step_channel(tvi_handle_t *tvh, int direction) 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", |