diff options
author | Andreas Öman <andreas@lonelycoder.com> | 2007-11-14 06:33:35 +0000 |
---|---|---|
committer | Andreas Öman <andreas@lonelycoder.com> | 2007-11-14 06:33:35 +0000 |
commit | bd59786204ce9f7e3b7f28dd5c6df2643bf423c2 (patch) | |
tree | 74bd1a609790e70347f7800b376f8e59d9be4843 /libavformat/mp3.c | |
parent | bd548b99aad3b067619db4d2a8fe67933b59197a (diff) | |
download | ffmpeg-streaming-bd59786204ce9f7e3b7f28dd5c6df2643bf423c2.zip ffmpeg-streaming-bd59786204ce9f7e3b7f28dd5c6df2643bf423c2.tar.gz |
remove unnecessary -1 from snprintf len
Originally committed as revision 11009 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mp3.c')
-rw-r--r-- | libavformat/mp3.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c index 540adfc..d6d5b2c 100644 --- a/libavformat/mp3.c +++ b/libavformat/mp3.c @@ -585,7 +585,7 @@ static int mp3_write_header(struct AVFormatContext *s) char yeartxt[10]; if(s->track) - snprintf(tracktxt, sizeof(tracktxt) - 1, "%d", s->track); + snprintf(tracktxt, sizeof(tracktxt) , "%d", s->track); if(s->year) snprintf( yeartxt, sizeof(yeartxt) , "%d", s->year ); |