(ffmpeg_core.c) Fix CXX_BUILD error

This commit is contained in:
twinaphex 2015-06-26 15:14:01 +02:00
parent 2e27d52e54
commit 541c1e1911

View File

@ -959,7 +959,7 @@ static int16_t *decode_audio(AVCodecContext *ctx, AVPacket *pkt, AVFrame *frame,
}
swr_convert(swr,
(uint8_t*[]) { (uint8_t*)buffer },
(uint8_t**)&buffer,
frame->nb_samples,
(const uint8_t**)frame->data,
frame->nb_samples);