diff options
author | Eli Friedman <eli.friedman@gmail.com> | 2010-06-09 08:59:41 +0000 |
---|---|---|
committer | Reinhard Tartler <siretart@tauware.de> | 2010-06-09 08:59:41 +0000 |
commit | 461628c6a8c2508490596194e0def2d2382574ac (patch) | |
tree | 9948581202842b71fee8855f6739308e28ce8f39 /libavformat/rtpdec_xiph.c | |
parent | bdb57a9198993a6c1fb9175d2e94083ad8ee0380 (diff) | |
download | ffmpeg-461628c6a8c2508490596194e0def2d2382574ac.tar.gz |
Fix printf format warnings
patch by Eli Friedman <eli dot friedman at gmail dot com>
Originally committed as revision 23547 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec_xiph.c')
-rw-r--r-- | libavformat/rtpdec_xiph.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpdec_xiph.c b/libavformat/rtpdec_xiph.c index 9a1f33d531..34704a2aec 100644 --- a/libavformat/rtpdec_xiph.c +++ b/libavformat/rtpdec_xiph.c @@ -236,7 +236,7 @@ parse_packed_headers(const uint8_t * packed_headers, 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 @@ parse_packed_headers(const uint8_t * packed_headers, 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; } |