diff options
author | Vittorio Giovara <vittorio.giovara@gmail.com> | 2016-02-15 21:46:16 -0500 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2016-02-16 18:25:47 +0100 |
commit | b92962436bdcfae478c8598dca397a397762eef8 (patch) | |
tree | d641a3018436daca5ff1abc911789033611efdd2 /libavformat/mov.c | |
parent | 2edc718723b60530aead26c20cbc891102f7d529 (diff) | |
download | ffmpeg-b92962436bdcfae478c8598dca397a397762eef8.tar.gz |
mov: Fix the format specifier type for size
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index 1cb91b9893..134ce27bc7 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1789,7 +1789,8 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries) avio_rb16(pb); /* reserved */ dref_id = avio_rb16(pb); } else { - av_log(c->fc, AV_LOG_ERROR, "invalid size %"PRIu32" in stsd\n", size); + av_log(c->fc, AV_LOG_ERROR, + "invalid size %"PRId64" in stsd\n", size); return AVERROR_INVALIDDATA; } @@ -1803,7 +1804,7 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries) id = mov_codec_id(st, format); av_log(c->fc, AV_LOG_TRACE, - "size=%"PRIu32" format=0x%08x codec_type=%d\n", + "size=%"PRId64" format=0x%08x codec_type=%d\n", size, format, st->codec->codec_type); if (st->codec->codec_type==AVMEDIA_TYPE_VIDEO) { |