diff mp3.c @ 2736:fbc1944cd095 libavformat

remove unnecessary -1 from snprintf len
author andoma
date Wed, 14 Nov 2007 06:33:35 +0000
parents 6fba7e16a6c7
children 1285feca09b7
line wrap: on
line diff
--- a/mp3.c	Wed Nov 14 06:32:55 2007 +0000
+++ b/mp3.c	Wed Nov 14 06:33:35 2007 +0000
@@ -585,7 +585,7 @@
     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 );