Mercurial > libavformat.hg
changeset 6116:49eedb93140e libavformat
Fix printf format warnings
patch by Eli Friedman <eli dot friedman at gmail dot com>
author | siretart |
---|---|
date | Wed, 09 Jun 2010 08:59:41 +0000 |
parents | 4c91cdcb8a52 |
children | f221641c262a |
files | oggdec.c rtpdec_xiph.c |
diffstat | 2 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/oggdec.c Wed Jun 09 08:29:51 2010 +0000 +++ b/oggdec.c Wed Jun 09 08:59:41 2010 +0000 @@ -363,7 +363,7 @@ #endif if (os->granule == -1) - av_log(s, AV_LOG_WARNING, "Page at %lld is missing granule\n", os->page_pos); + av_log(s, AV_LOG_WARNING, "Page at %"PRId64" is missing granule\n", os->page_pos); ogg->curidx = idx; os->incomplete = 0;
--- a/rtpdec_xiph.c Wed Jun 09 08:29:51 2010 +0000 +++ b/rtpdec_xiph.c Wed Jun 09 08:59:41 2010 +0000 @@ -236,7 +236,7 @@ if (packed_headers_end - packed_headers < 9) { av_log(codec, AV_LOG_ERROR, - "Invalid %d byte packed header.", + "Invalid %td byte packed header.", packed_headers_end - packed_headers); return AVERROR_INVALIDDATA; } @@ -258,7 +258,7 @@ if (packed_headers_end - packed_headers != length || length1 > length || length2 > length - length1) { av_log(codec, AV_LOG_ERROR, - "Bad packed header lengths (%d,%d,%d,%d)\n", length1, + "Bad packed header lengths (%d,%d,%td,%d)\n", length1, length2, packed_headers_end - packed_headers, length); return AVERROR_INVALIDDATA; }