LibMedia: Port to Windows
This commit is contained in:
parent
cd23307b12
commit
3d76a5096f
2 changed files with 6 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
include(audio)
|
||||
|
||||
if (NOT ANDROID AND NOT WIN32)
|
||||
if (NOT ANDROID)
|
||||
include(ffmpeg)
|
||||
endif()
|
||||
|
||||
|
@ -20,7 +20,7 @@ set(SOURCES
|
|||
serenity_lib(LibMedia media)
|
||||
target_link_libraries(LibMedia PRIVATE LibCore LibCrypto LibRIFF LibIPC LibGfx LibThreading LibUnicode)
|
||||
|
||||
if (NOT ANDROID AND NOT WIN32)
|
||||
if (NOT ANDROID)
|
||||
target_sources(LibMedia PRIVATE
|
||||
Audio/FFmpegLoader.cpp
|
||||
FFmpeg/FFmpegVideoDecoder.cpp
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
#include "VideoFrame.h"
|
||||
|
||||
#ifdef AK_OS_WINDOWS
|
||||
# include <AK/Malloc.h>
|
||||
#endif
|
||||
|
||||
namespace Media {
|
||||
|
||||
ErrorOr<NonnullOwnPtr<SubsampledYUVFrame>> SubsampledYUVFrame::try_create(
|
||||
|
|
Loading…
Add table
Reference in a new issue