aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/mov.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-04-01 18:19:59 +0000
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-04-02 00:27:22 +0200
commitcba4e6062a02d5bf684e13a770be88aa1fec717e (patch)
treecf0ecd5a96c69be36b166d68356c64f637893fbd /libavformat/mov.c
parent80035db88c1f7cc23110c7472a2b13a4d2d8b73e (diff)
downloadffmpeg-cba4e6062a02d5bf684e13a770be88aa1fec717e.tar.gz
More correct printf format specifiers
This avoids compiler warnings about argument and specifier type mismatch.
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r--libavformat/mov.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 5d0719c057..afd3fc6638 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -1343,7 +1343,7 @@ static int mov_rewrite_dvd_sub_extradata(AVStream *st)
uint32_t yuv = AV_RB32(src + i * 4);
uint32_t rgba = yuv_to_rgba(yuv);
- av_strlcatf(buf, sizeof(buf), "%06x%s", rgba, i != 15 ? ", " : "");
+ av_strlcatf(buf, sizeof(buf), "%06"PRIx32"%s", rgba, i != 15 ? ", " : "");
}
if (av_strlcat(buf, "\n", sizeof(buf)) >= sizeof(buf))