diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-03-10 15:35:59 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-11 13:13:41 +0100 |
commit | d92024f18fa3d69937cb2575f3a8bf973df02430 (patch) | |
tree | b3761f3c586916a0685e125bee9b9ed95b25aa25 /libavformat/dfa.c | |
parent | 7caf48e036583cd5833f5dc07ab14960dff25e04 (diff) | |
download | ffmpeg-d92024f18fa3d69937cb2575f3a8bf973df02430.tar.gz |
lavf: more correct printf format specifiers
Diffstat (limited to 'libavformat/dfa.c')
-rw-r--r-- | libavformat/dfa.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libavformat/dfa.c b/libavformat/dfa.c index fa32d1f2cf..c097d72cf8 100644 --- a/libavformat/dfa.c +++ b/libavformat/dfa.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <inttypes.h> + #include "libavutil/intreadwrite.h" #include "avformat.h" #include "internal.h" @@ -87,12 +89,13 @@ static int dfa_read_packet(AVFormatContext *s, AVPacket *pkt) first = 0; frame_size = AV_RL32(pkt->data + pkt->size - 8); if (frame_size > INT_MAX - 4) { - av_log(s, AV_LOG_ERROR, "Too large chunk size: %d\n", frame_size); + av_log(s, AV_LOG_ERROR, "Too large chunk size: %"PRIu32"\n", frame_size); return AVERROR(EIO); } if (AV_RL32(pkt->data + pkt->size - 12) == MKTAG('E', 'O', 'F', 'R')) { if (frame_size) { - av_log(s, AV_LOG_WARNING, "skipping %d bytes of end-of-frame marker chunk\n", + av_log(s, AV_LOG_WARNING, + "skipping %"PRIu32" bytes of end-of-frame marker chunk\n", frame_size); avio_skip(pb, frame_size); } |