[FFmpeg-cvslog] aacdec: Fix warning: initialization from incompatible pointer type
Michael Niedermayer
git at videolan.org
Sat Feb 23 12:28:57 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Feb 23 12:16:28 2013 +0100| [23c9180c001cbb71dc7e50837435babb94271d07] | committer: Michael Niedermayer
aacdec: Fix warning: initialization from incompatible pointer type
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=23c9180c001cbb71dc7e50837435babb94271d07
---
libavcodec/aacdec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/aacdec.c b/libavcodec/aacdec.c
index 87cb48a..9b5a409 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));
}
More information about the ffmpeg-cvslog
mailing list