Mercurial > libavformat.hg
diff utils.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 | 3e12e3ca0ce3 |
| children | 4eac39e2c41f |
line wrap: on
line diff
--- a/utils.c Sat Oct 14 05:01:05 2006 +0000 +++ b/utils.c Sat Oct 14 20:43:39 2006 +0000 @@ -826,7 +826,7 @@ st = s->streams[s->cur_pkt.stream_index]; if(st->codec->debug & FF_DEBUG_PTS) - av_log(s, AV_LOG_DEBUG, "av_read_packet stream=%d, pts=%lld, dts=%lld, size=%d\n", + av_log(s, AV_LOG_DEBUG, "av_read_packet stream=%d, pts=%"PRId64", dts=%"PRId64", size=%d\n", s->cur_pkt.stream_index, s->cur_pkt.pts, s->cur_pkt.dts, @@ -847,7 +847,7 @@ } } if(st->codec->debug & FF_DEBUG_PTS) - av_log(s, AV_LOG_DEBUG, "av_read_frame_internal stream=%d, pts=%lld, dts=%lld, size=%d\n", + av_log(s, AV_LOG_DEBUG, "av_read_frame_internal stream=%d, pts=%"PRId64", dts=%"PRId64", size=%d\n", pkt->stream_index, pkt->pts, pkt->dts,
