diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-03-10 18:35:59 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-11 16:13:41 +0400 |
commit | d92024f18fa3d69937cb2575f3a8bf973df02430 (patch) | |
tree | b3761f3c586916a0685e125bee9b9ed95b25aa25 /libavformat/electronicarts.c | |
parent | 7caf48e036583cd5833f5dc07ab14960dff25e04 (diff) |
lavf: more correct printf format specifiers
Diffstat (limited to 'libavformat/electronicarts.c')
-rw-r--r-- | libavformat/electronicarts.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libavformat/electronicarts.c b/libavformat/electronicarts.c index 9d00c2d95e..879ed9732d 100644 --- a/libavformat/electronicarts.c +++ b/libavformat/electronicarts.c @@ -25,6 +25,8 @@ * by Robin Kay (komadori at gekkou.co.uk) */ +#include <inttypes.h> + #include "libavutil/intreadwrite.h" #include "avformat.h" #include "internal.h" @@ -151,7 +153,7 @@ static int process_audio_header_elements(AVFormatContext *s) break; case 0x8A: av_log(s, AV_LOG_DEBUG, - "element 0x%02x set to 0x%08x\n", + "element 0x%02x set to 0x%08"PRIx32"\n", subbyte, read_arbitrary(pb)); av_log(s, AV_LOG_DEBUG, "exited audio subheader\n"); in_subheader = 0; @@ -170,7 +172,7 @@ static int process_audio_header_elements(AVFormatContext *s) break; default: av_log(s, AV_LOG_DEBUG, - "element 0x%02x set to 0x%08x\n", + "element 0x%02x set to 0x%08"PRIx32"\n", subbyte, read_arbitrary(pb)); break; } @@ -182,7 +184,7 @@ static int process_audio_header_elements(AVFormatContext *s) break; default: av_log(s, AV_LOG_DEBUG, - "header element 0x%02x set to 0x%08x\n", + "header element 0x%02x set to 0x%08"PRIx32"\n", byte, read_arbitrary(pb)); break; } |