From 23c9180c001cbb71dc7e50837435babb94271d07 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sat, 23 Feb 2013 12:16:28 +0100 Subject: [PATCH] aacdec: Fix warning: initialization from incompatible pointer type Signed-off-by: Michael Niedermayer --- libavcodec/aacdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c index 87cb48ad65..9b5a4094ca 100644 --- a/libavcodec/aacdec.c +++ b/libavcodec/aacdec.c @@ -2627,7 +2627,7 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data, if (multiplier) { int side_size; - uint32_t *side = av_packet_get_side_data(avpkt, AV_PKT_DATA_SKIP_SAMPLES, &side_size); + const uint8_t *side = av_packet_get_side_data(avpkt, AV_PKT_DATA_SKIP_SAMPLES, &side_size); if (side && side_size>=4) AV_WL32(side, 2*AV_RL32(side)); }