diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-03-13 12:13:33 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-03-22 14:08:20 +0100 |
commit | cc8163e1a3601a56f722a4720516e860bf1c6198 (patch) | |
tree | d024d6a6300f2c013910239746ede9a97971518a /libavcodec/apedec.c | |
parent | 7513234bdd93f80593bfee3eb2da8c8f0d3992da (diff) | |
download | ffmpeg-cc8163e1a3601a56f722a4720516e860bf1c6198.tar.gz |
avcodec: more correct printf specifiers
Diffstat (limited to 'libavcodec/apedec.c')
-rw-r--r-- | libavcodec/apedec.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/apedec.c b/libavcodec/apedec.c index 8669db8805..fb41918265 100644 --- a/libavcodec/apedec.c +++ b/libavcodec/apedec.c @@ -20,6 +20,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include <inttypes.h> + #include "libavutil/avassert.h" #include "libavutil/channel_layout.h" #include "libavutil/opt.h" @@ -1456,7 +1458,8 @@ static int ape_decode_frame(AVCodecContext *avctx, void *data, } if (!nblocks || nblocks > INT_MAX) { - av_log(avctx, AV_LOG_ERROR, "Invalid sample count: %u.\n", nblocks); + av_log(avctx, AV_LOG_ERROR, "Invalid sample count: %"PRIu32".\n", + nblocks); return AVERROR_INVALIDDATA; } s->samples = nblocks; |