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/gxf.c | |
parent | 7caf48e036583cd5833f5dc07ab14960dff25e04 (diff) |
lavf: more correct printf format specifiers
Diffstat (limited to 'libavformat/gxf.c')
-rw-r--r-- | libavformat/gxf.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libavformat/gxf.c b/libavformat/gxf.c index 6feb3c30dc..189584035b 100644 --- a/libavformat/gxf.c +++ b/libavformat/gxf.c @@ -19,6 +19,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <inttypes.h> + #include "libavutil/channel_layout.h" #include "libavutil/common.h" #include "avformat.h" @@ -259,7 +261,9 @@ static void gxf_read_index(AVFormatContext *s, int pkt_len) { return; } if (map_cnt > 1000) { - av_log(s, AV_LOG_ERROR, "too many index entries %u (%x)\n", map_cnt, map_cnt); + av_log(s, AV_LOG_ERROR, + "too many index entries %"PRIu32" (%"PRIx32")\n", + map_cnt, map_cnt); map_cnt = 1000; } if (pkt_len < 4 * map_cnt) { |