Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Öman <andreas@lonelycoder.com>2007-11-14 09:33:35 +0300
committerAndreas Öman <andreas@lonelycoder.com>2007-11-14 09:33:35 +0300
commitbd59786204ce9f7e3b7f28dd5c6df2643bf423c2 (patch)
tree74bd1a609790e70347f7800b376f8e59d9be4843 /libavformat/mp3.c
parentbd548b99aad3b067619db4d2a8fe67933b59197a (diff)
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mp3.c b/libavformat/mp3.c
index 540adfc197..d6d5b2c4e3 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 );