mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-25 23:38:47 -04:00
fixed build problems with older ffmpeg versions
changed includes to not use ffmpeg internal headers
This commit is contained in:
1 parent
1570fa75b9
commit
ad5e147da2
2 files changed
+6
-2
No files matched your search
@@ -8,6 +8,10 @@ find_package(Libavutil REQUIRED)
|
||||
include_directories(${Libavutil_INCLUDE_DIR})
|
||||
add_definitions(${Libavutil_DEFINITIONS})
|
||||
|
||||
find_package(Libavformat REQUIRED)
|
||||
include_directories(${Libavformat_INCLUDE_DIR})
|
||||
add_definitions(${Libavformat_DEFINITIONS})
|
||||
|
||||
add_definitions(-DLIBOBS_EXPORTS)
|
||||
add_definitions(-DPTW32_STATIC_LIB)
|
||||
|
||||
|
||||
@@ -18,8 +18,8 @@
|
||||
#include "../util/bmem.h"
|
||||
#include "audio-resampler.h"
|
||||
#include "audio-io.h"
|
||||
#include <libavutil/opt.h>
|
||||
#include <libavutil/channel_layout.h>
|
||||
#include <libavutil/avutil.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libswresample/swresample.h>
|
||||
|
||||
struct audio_resampler {
|
||||
|
||||
Reference in new issue
Block a user