[SCM] libav/experimental: Use slightly more appropriate format strings for printing decimal values. patch by Frank Barchard, fbarchard google com

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:48:27 UTC 2013


The following commit has been merged in the experimental branch:
commit 06a497afabd04cbb7f8c7e069a2ac740b3e585ff
Author: Frank Barchard <fbarchard at google.com>
Date:   Wed Jul 1 13:46:26 2009 +0000

    Use slightly more appropriate format strings for printing decimal values.
    patch by Frank Barchard, fbarchard google com
    
    Originally committed as revision 19315 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/tools/qt-faststart.c b/tools/qt-faststart.c
index b1af21c..a256eb1 100644
--- a/tools/qt-faststart.c
+++ b/tools/qt-faststart.c
@@ -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;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list