summaryrefslogtreecommitdiffstats
path: root/stream/tv.c
diff options
context:
space:
mode:
authorvoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-14 06:28:51 +0000
committervoroshil <voroshil@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-10-14 06:28:51 +0000
commitf9a227eb94ea662899179ae4e130d74c20281ef7 (patch)
tree51f4678031133b536aba6c5f8787de61117e13ba /stream/tv.c
parent19d217a9819a20f6dd147c4749d88be5ba850c6a (diff)
downloadmpv-f9a227eb94ea662899179ae4e130d74c20281ef7.tar.bz2
mpv-f9a227eb94ea662899179ae4e130d74c20281ef7.tar.xz
8 bytes buffer is not enough for at least SECAM-DK.
Increase it to 20. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24781 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream/tv.c')
-rw-r--r--stream/tv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stream/tv.c b/stream/tv.c
index dac10feb46..d26111963f 100644
--- a/stream/tv.c
+++ b/stream/tv.c
@@ -207,7 +207,7 @@ static int demux_tv_fill_buffer(demuxer_t *demux, demux_stream_t *ds)
static int norm_from_string(tvi_handle_t *tvh, char* norm)
{
tvi_functions_t *funcs = tvh->functions;
- char str[8];
+ char str[20];
int ret;
strncpy(str, norm, sizeof(str)-1);