Commit b7fe9c7a authored by Michael Niedermayer's avatar Michael Niedermayer

ffmpeg: fix pointer type (const) warning

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0ee32b90
......@@ -1760,7 +1760,7 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
buftmp = audio_buf;
size_out = swr_convert(ost->swr, ( uint8_t*[]){buftmp},
allocated_audio_buf_size / (enc->channels * osize),
buf,
(const uint8_t **)buf,
size / (dec->channels * isize));
if (size_out < 0) {
av_log(NULL, AV_LOG_FATAL, "swr_convert failed\n");
......
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