aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorjamal <jamrial@gmail.com>2012-07-27 13:11:02 -0300
committerMichael Niedermayer <michaelni@gmx.at>2012-07-30 03:50:43 +0200
commit753a1b09882b921c0874fa11feeaac5684e4ef16 (patch)
tree478fce6c185fb9f926807ad1e46030acb319e68a /libavutil
parent938e4470aeb94edb50d0999c81457132d0668603 (diff)
downloadffmpeg-753a1b09882b921c0874fa11feeaac5684e4ef16.tar.gz
samplefmt: Fix warning about discarded qualifier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/samplefmt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c
index a9c12ed6fd..838d99c7f1 100644
--- a/libavutil/samplefmt.c
+++ b/libavutil/samplefmt.c
@@ -163,7 +163,7 @@ int av_samples_fill_arrays(uint8_t **audio_data, int *linesize,
if (buf_size < 0)
return buf_size;
- audio_data[0] = buf;
+ audio_data[0] = (uint8_t *)buf;
for (ch = 1; planar && ch < nb_channels; ch++)
audio_data[ch] = audio_data[ch-1] + line_size;