summaryrefslogtreecommitdiffstats
path: root/libavcodec/aic.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2014-03-13 12:13:33 +0100
committerDiego Biurrun <diego@biurrun.de>2014-03-22 14:08:20 +0100
commitcc8163e1a3601a56f722a4720516e860bf1c6198 (patch)
treed024d6a6300f2c013910239746ede9a97971518a /libavcodec/aic.c
parent7513234bdd93f80593bfee3eb2da8c8f0d3992da (diff)
downloadffmpeg-streaming-cc8163e1a3601a56f722a4720516e860bf1c6198.zip
ffmpeg-streaming-cc8163e1a3601a56f722a4720516e860bf1c6198.tar.gz
avcodec: more correct printf specifiers
Diffstat (limited to 'libavcodec/aic.c')
-rw-r--r--libavcodec/aic.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/aic.c b/libavcodec/aic.c
index 5981dd8..68ae728 100644
--- a/libavcodec/aic.c
+++ b/libavcodec/aic.c
@@ -20,6 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <inttypes.h>
+
#include "avcodec.h"
#include "bytestream.h"
#include "dsputil.h"
@@ -169,7 +171,7 @@ static int aic_decode_header(AICContext *ctx, const uint8_t *src, int size)
width = AV_RB16(src + 6);
height = AV_RB16(src + 8);
if (frame_size > size) {
- av_log(ctx->avctx, AV_LOG_ERROR, "Frame size should be %d got %d\n",
+ av_log(ctx->avctx, AV_LOG_ERROR, "Frame size should be %"PRIu32" got %d\n",
frame_size, size);
return AVERROR_INVALIDDATA;
}
OpenPOWER on IntegriCloud