aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorDominik Mierzejewski <dominik@rangers.eu.org>2006-10-14 20:43:39 +0000
committerDominik Mierzejewski <dominik@rangers.eu.org>2006-10-14 20:43:39 +0000
commitccd3228e54cc01baaf019a4b3842e378340cbdc9 (patch)
tree8012a554904275700999909bf3d87314729aa06b /libavformat/mov.c
parent7c428ea6815e74bd21f02d5520a21cd9db3d6a12 (diff)
downloadffmpeg-ccd3228e54cc01baaf019a4b3842e378340cbdc9.tar.gz
Use proper PRI?64 macros for %ll? format to fix printf format warnings:
utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’ utils.c:833: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’ utils.c:854: warning: format ‘%lld’ expects type ‘long long int’, but argument 5 has type ‘int64_t’ utils.c:854: warning: format ‘%lld’ expects type ‘long long int’, but argument 6 has type ‘int64_t’ asf.c:872: warning: format ‘%Lx’ expects type ‘long long unsigned int’, but argument 4 has type ‘int64_t’ mov.c:1754: warning: format ‘%llx’ expects type ‘long long unsigned int’, but argument 5 has type ‘int64_t’ Approved by Michael. Originally committed as revision 6692 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 7cbfbbc8b0..09d8cd75a3 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1751,7 +1751,7 @@ static int mov_read_packet(AVFormatContext *s, AVPacket *pkt)
/* must be done just before reading, to avoid infinite loop on sample */
sc->current_sample++;
if (sample->pos >= url_fsize(&s->pb)) {
- av_log(mov->fc, AV_LOG_ERROR, "stream %d, offset 0x%llx: partial file\n", sc->ffindex, sample->pos);
+ av_log(mov->fc, AV_LOG_ERROR, "stream %d, offset 0x%"PRIx64": partial file\n", sc->ffindex, sample->pos);
return -1;
}
#ifdef CONFIG_DV_DEMUXER