From e809d7e50ab6336f077dccb48159741fd0693bc2 Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Wed, 24 Jan 2007 15:59:58 +0000 Subject: [PATCH] remove some printf warnings Originally committed as revision 7691 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mov.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index d1e8a21a3..f088e5c1e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -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) -- 2.11.0