mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
ffmpeg: fix pointer type (const) warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0ee32b9028
commit
b7fe9c7a08
2
ffmpeg.c
2
ffmpeg.c
@ -1760,7 +1760,7 @@ static void do_audio_out(AVFormatContext *s, OutputStream *ost,
|
|||||||
buftmp = audio_buf;
|
buftmp = audio_buf;
|
||||||
size_out = swr_convert(ost->swr, ( uint8_t*[]){buftmp},
|
size_out = swr_convert(ost->swr, ( uint8_t*[]){buftmp},
|
||||||
allocated_audio_buf_size / (enc->channels * osize),
|
allocated_audio_buf_size / (enc->channels * osize),
|
||||||
buf,
|
(const uint8_t **)buf,
|
||||||
size / (dec->channels * isize));
|
size / (dec->channels * isize));
|
||||||
if (size_out < 0) {
|
if (size_out < 0) {
|
||||||
av_log(NULL, AV_LOG_FATAL, "swr_convert failed\n");
|
av_log(NULL, AV_LOG_FATAL, "swr_convert failed\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user