samplefmt: Fix warning about discarded qualifier
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
938e4470ae
commit
753a1b0988
@@ -163,7 +163,7 @@ int av_samples_fill_arrays(uint8_t **audio_data, int *linesize,
|
|||||||
if (buf_size < 0)
|
if (buf_size < 0)
|
||||||
return buf_size;
|
return buf_size;
|
||||||
|
|
||||||
audio_data[0] = buf;
|
audio_data[0] = (uint8_t *)buf;
|
||||||
for (ch = 1; planar && ch < nb_channels; ch++)
|
for (ch = 1; planar && ch < nb_channels; ch++)
|
||||||
audio_data[ch] = audio_data[ch-1] + line_size;
|
audio_data[ch] = audio_data[ch-1] + line_size;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user