Commit 753a1b09 authored by jamal's avatar jamal Committed by Michael Niedermayer

samplefmt: Fix warning about discarded qualifier

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 938e4470
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment