samplefmt: Fix warning about discarded qualifier

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/28/head
jamal 12 years ago committed by Michael Niedermayer
parent 938e4470ae
commit 753a1b0988
  1. 2
      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;

Loading…
Cancel
Save