Mercurial > libavformat.hg
diff mov.c @ 1388:3172bf94c066 libavformat
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.
author | rathann |
---|---|
date | Sat, 14 Oct 2006 20:43:39 +0000 |
parents | 56c4d97618f2 |
children | 23541e51b7ca |
line wrap: on
line diff
--- a/mov.c Sat Oct 14 05:01:05 2006 +0000 +++ b/mov.c Sat Oct 14 20:43:39 2006 +0000 @@ -1751,7 +1751,7 @@ /* 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