Solve compile warnings

This commit is contained in:
Iwan Timmer
2017-05-28 14:46:21 +02:00
parent 91d9aef6ff
commit 343e3992c1
5 changed files with 8 additions and 5 deletions

View File

@@ -100,7 +100,7 @@ int x11_submit_decode_unit(PDECODE_UNIT decodeUnit) {
ffmpeg_decode(ffmpeg_buffer, length);
AVFrame* frame = ffmpeg_get_frame();
if (frame != NULL)
egl_draw(frame->data);
egl_draw((const unsigned char**) frame->data);
}
return DR_OK;