Commit 23c9180c authored by Michael Niedermayer's avatar Michael Niedermayer

aacdec: Fix warning: initialization from incompatible pointer type

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent cfcab4c5
......@@ -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));
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment