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

diego subversion
Tue Jun 30 17:11:51 CEST 2009


Author: diego
Date: Tue Jun 30 17:11:51 2009
New Revision: 19309

Log:
Use more portable 'PRId64' instead of 'llx' as conversion/length specifier.
patch by Frank Barchard, fbarchard google com

Modified:
   trunk/tools/qt-faststart.c

Modified: trunk/tools/qt-faststart.c
==============================================================================
--- trunk/tools/qt-faststart.c	Tue Jun 30 14:46:09 2009	(r19308)
+++ trunk/tools/qt-faststart.c	Tue Jun 30 17:11:51 2009	(r19309)
@@ -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%llX byte for ftyp atom\n",
+                printf ("could not allocate 0x%"PRId64" 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%llX byte for moov atom\n",
+        printf ("could not allocate 0x%"PRId64" byte for moov atom\n",
             atom_size);
         fclose(infile);
         return 1;



More information about the ffmpeg-cvslog mailing list