[FFmpeg-cvslog] r19315 - trunk/tools/qt-faststart.c

diego subversion
Wed Jul 1 15:46:26 CEST 2009


Author: diego
Date: Wed Jul  1 15:46:26 2009
New Revision: 19315

Log:
Use slightly more appropriate format strings for printing decimal values.
patch by Frank Barchard, fbarchard google com

Modified:
   trunk/tools/qt-faststart.c

Modified: trunk/tools/qt-faststart.c
==============================================================================
--- trunk/tools/qt-faststart.c	Wed Jul  1 12:36:18 2009	(r19314)
+++ trunk/tools/qt-faststart.c	Wed Jul  1 15:46:26 2009	(r19315)
@@ -129,7 +129,7 @@ int main(int argc, char *argv[])
             ftyp_atom_size = atom_size;
             ftyp_atom = malloc(ftyp_atom_size);
             if (!ftyp_atom) {
-                printf ("could not allocate 0x%"PRId64" byte for ftyp atom\n",
+                printf ("could not allocate %"PRIu64" byte for ftyp atom\n",
                         atom_size);
                 fclose(infile);
                 return 1;
@@ -170,7 +170,7 @@ int main(int argc, char *argv[])
     moov_atom_size = atom_size;
     moov_atom = malloc(moov_atom_size);
     if (!moov_atom) {
-        printf ("could not allocate 0x%"PRId64" byte for moov atom\n",
+        printf ("could not allocate %"PRIu64" byte for moov atom\n",
             atom_size);
         fclose(infile);
         return 1;



More information about the ffmpeg-cvslog mailing list