]> git.sesse.net Git - ffmpeg/commitdiff
remove some printf warnings
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 24 Jan 2007 15:59:58 +0000 (15:59 +0000)
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>
Wed, 24 Jan 2007 15:59:58 +0000 (15:59 +0000)
Originally committed as revision 7691 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mov.c

index d1e8a21a332692d5171e6728e478c400efd23fa9..f088e5c1e6eee7f8775acadc7146ea8c82a75702 100644 (file)
@@ -1097,7 +1097,7 @@ static int mov_read_stss(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
 
     sc->keyframe_count = entries;
 #ifdef DEBUG
-    av_log(NULL, AV_LOG_DEBUG, "keyframe_count = %ld\n", sc->keyframe_count);
+    av_log(NULL, AV_LOG_DEBUG, "keyframe_count = %d\n", sc->keyframe_count);
 #endif
     sc->keyframes = av_malloc(entries * sizeof(long));
     if (!sc->keyframes)
@@ -1132,7 +1132,7 @@ static int mov_read_stsz(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
         return 0;
 
 #ifdef DEBUG
-    av_log(NULL, AV_LOG_DEBUG, "sample_size = %ld sample_count = %ld\n", sc->sample_size, sc->sample_count);
+    av_log(NULL, AV_LOG_DEBUG, "sample_size = %d sample_count = %d\n", sc->sample_size, sc->sample_count);
 #endif
     sc->sample_sizes = av_malloc(entries * sizeof(long));
     if (!sc->sample_sizes)