Browse Source

aacdec: Fix warning: initialization from incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 13 years ago
parent
commit
23c9180c00
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/aacdec.c

+ 1
- 1
libavcodec/aacdec.c View File

@@ -2627,7 +2627,7 @@ static int aac_decode_frame_int(AVCodecContext *avctx, void *data,


if (multiplier) { if (multiplier) {
int side_size; 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) if (side && side_size>=4)
AV_WL32(side, 2*AV_RL32(side)); AV_WL32(side, 2*AV_RL32(side));
} }


Loading…
Cancel
Save