mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-09-22 14:26:52 +00:00
remove unnecessary -1 from snprintf len
Originally committed as revision 11009 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bd548b99aa
commit
bd59786204
@ -585,7 +585,7 @@ static int mp3_write_header(struct AVFormatContext *s)
|
|||||||
char yeartxt[10];
|
char yeartxt[10];
|
||||||
|
|
||||||
if(s->track)
|
if(s->track)
|
||||||
snprintf(tracktxt, sizeof(tracktxt) - 1, "%d", s->track);
|
snprintf(tracktxt, sizeof(tracktxt) , "%d", s->track);
|
||||||
if(s->year)
|
if(s->year)
|
||||||
snprintf( yeartxt, sizeof(yeartxt) , "%d", s->year );
|
snprintf( yeartxt, sizeof(yeartxt) , "%d", s->year );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user