From d92024f18fa3d69937cb2575f3a8bf973df02430 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 10 Mar 2014 15:35:59 +0100 Subject: lavf: more correct printf format specifiers --- libavformat/gxf.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'libavformat/gxf.c') 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 + #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) { -- cgit v1.2.3