Build fix for the linux libav build.

This commit is contained in:
Glenn Rice 2011-09-08 22:24:11 -05:00 committed by NeoBrainX
parent 913bc6d15f
commit 6ccfd85f42
1 changed files with 4 additions and 4 deletions

View File

@ -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
}