From e4b358d0a7ea703ed485c5767469da9f27b0e93a Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Thu, 8 Sep 2011 22:24:11 -0500 Subject: [PATCH] Build fix for the linux libav build. --- Source/Plugins/Plugin_VideoOGL/Src/Render.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp index 415d1986b3..1870a64f8b 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/Render.cpp @@ -932,7 +932,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons #ifdef _WIN32 AVIDump::AddFrame(frame_data); #elif defined HAVE_LIBAV - AVIDump::AddFrame(frame_data, w, h); + AVIDump::AddFrame((u8*)frame_data, w, h); #endif Core::Callback_VideoCopiedToXFB(false); return; @@ -951,7 +951,7 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons #ifdef _WIN32 AVIDump::AddFrame(frame_data); #elif defined HAVE_LIBAV - AVIDump::AddFrame(frame_data, w, h); + AVIDump::AddFrame((u8*)frame_data, w, h); #endif } Core::Callback_VideoCopiedToXFB(false); @@ -1145,8 +1145,8 @@ void Renderer::Swap(u32 xfbAddr, FieldType field, u32 fbWidth, u32 fbHeight,cons #ifdef _WIN32 AVIDump::AddFrame(frame_data); #else - FlipImageData(frame_data, w, h); - AVIDump::AddFrame(frame_data, w, h); + FlipImageData((u8*)frame_data, w, h); + AVIDump::AddFrame((u8*)frame_data, w, h); #endif }