Commit bd597862 authored by Andreas Öman's avatar Andreas Öman

remove unnecessary -1 from snprintf len

Originally committed as revision 11009 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bd548b99
......@@ -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 );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment