From 541c1e1911e81ef45a010881b1d48afcf2bd3554 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 26 Jun 2015 15:14:01 +0200 Subject: [PATCH] (ffmpeg_core.c) Fix CXX_BUILD error --- cores/ffmpeg_core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cores/ffmpeg_core.c b/cores/ffmpeg_core.c index 926b00a4da..14b513e19e 100644 --- a/cores/ffmpeg_core.c +++ b/cores/ffmpeg_core.c @@ -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);