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/dxa.c | |
parent | 7caf48e036583cd5833f5dc07ab14960dff25e04 (diff) | |
download | ffmpeg-d92024f18fa3d69937cb2575f3a8bf973df02430.tar.gz |
lavf: more correct printf format specifiers
Diffstat (limited to 'libavformat/dxa.c')
-rw-r--r-- | libavformat/dxa.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/dxa.c b/libavformat/dxa.c index a1b85fe887..78e7290837 100644 --- a/libavformat/dxa.c +++ b/libavformat/dxa.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" @@ -190,7 +192,8 @@ static int dxa_read_packet(AVFormatContext *s, AVPacket *pkt) avio_read(s->pb, buf + 4, DXA_EXTRA_SIZE - 4); size = AV_RB32(buf + 5); if(size > 0xFFFFFF){ - av_log(s, AV_LOG_ERROR, "Frame size is too big: %d\n", size); + av_log(s, AV_LOG_ERROR, "Frame size is too big: %"PRIu32"\n", + size); return -1; } if(av_new_packet(pkt, size + DXA_EXTRA_SIZE + pal_size) < 0) |