diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-03-19 12:29:07 +0100 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2011-03-19 12:29:27 +0100 |
commit | 6820008a5cf810eca791477f5ef9d10883a88d35 (patch) | |
tree | ed7b7e190c49966f3972dec2c5612c5ff2be8011 /libavcodec | |
parent | c9f6eab184cac379c7a44d5899979165798d45d4 (diff) | |
download | ffmpeg-6820008a5cf810eca791477f5ef9d10883a88d35.tar.gz |
Fix compiler warnings due to missing casts.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ac3dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c index fbcfdb0ce9..4df0cf8a03 100644 --- a/libavcodec/ac3dec.c +++ b/libavcodec/ac3dec.c @@ -1320,7 +1320,7 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data, int *data_size, of the buffer, which can be caused by a damaged input stream. */ if (is_swapped) { int cnt = FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE) >> 1; - s->dsp.bswap16_buf(s->input_buffer, buf, cnt); + s->dsp.bswap16_buf((uint16_t *)s->input_buffer, (const uint16_t *)buf, cnt); } else memcpy(s->input_buffer, buf, FFMIN(buf_size, AC3_FRAME_BUFFER_SIZE)); buf = s->input_buffer; |