summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-06 13:12:09 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2003-01-06 13:12:09 +0000
commit4681b22e3ae31b39bf15f36699208088f23f3ace (patch)
tree9e257804394ed60d9a6ea95bfa59939782b535ca /libmpdemux
parentcb66d1f0f73b64f1c3b791b3658c08afddcda362 (diff)
downloadmpv-4681b22e3ae31b39bf15f36699208088f23f3ace.tar.bz2
mpv-4681b22e3ae31b39bf15f36699208088f23f3ace.tar.xz
10l? :)
patch by Stephane Jourdois <mplayer-dev-eng@rubis.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8821 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/tv.c b/libmpdemux/tv.c
index f3a42d156e..3bff4b4e19 100644
--- a/libmpdemux/tv.c
+++ b/libmpdemux/tv.c
@@ -250,7 +250,7 @@ static int open_tv(tvi_handle_t *tvh)
strcpy(tv_channel_current->name, strchr(tmp, '-') + 1);
strchr(tmp, '-')[0] = '\0';
- strncpy(tv_channel_current->number, tmp, 4);
+ strncpy(tv_channel_current->number, tmp, 5);
while (strchr(tv_channel_current->name, '_'))
strchr(tv_channel_current->name, '_')[0] = ' ';