[FFmpeg-cvslog] r11009 - trunk/libavformat/mp3.c
andoma
subversion
Wed Nov 14 07:33:35 CET 2007
Author: andoma
Date: Wed Nov 14 07:33:35 2007
New Revision: 11009
Log:
remove unnecessary -1 from snprintf len
Modified:
trunk/libavformat/mp3.c
Modified: trunk/libavformat/mp3.c
==============================================================================
--- trunk/libavformat/mp3.c (original)
+++ trunk/libavformat/mp3.c Wed Nov 14 07:33:35 2007
@@ -585,7 +585,7 @@ static int mp3_write_header(struct AVFor
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 );
More information about the ffmpeg-cvslog
mailing list