diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-05-10 20:03:29 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-05-10 20:03:29 +0200 |
commit | b7fe9c7a0899758b405dd4243c76017382e818b6 (patch) | |
tree | c93551f459af8b0443a151abbe7fda575096f8c6 | |
parent | 0ee32b9028cd28561ad8c21827fca5dbd3ff34e7 (diff) | |
download | ffmpeg-streaming-b7fe9c7a0899758b405dd4243c76017382e818b6.zip ffmpeg-streaming-b7fe9c7a0899758b405dd4243c76017382e818b6.tar.gz |
ffmpeg: fix pointer type (const) warning
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | ffmpeg.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); |