mirror of
https://github.com/Almamu/linux-wallpaperengine.git
synced 2025-07-13 12:52:32 +08:00
chore: move definition of old ffmpeg api to CAudioStream.h
This commit is contained in:
parent
94f382dcd2
commit
2ab211df2e
@ -16,6 +16,11 @@ extern "C" {
|
||||
|
||||
#include "WallpaperEngine/Audio/CAudioContext.h"
|
||||
|
||||
// TODO: FIND A BETTER PLACE TO DO THIS? OLD_API MIGHT EXIST BUT THIS DEFINE MIGHT NOT BE DEFINED...
|
||||
#ifndef FF_API_FIFO_OLD_API
|
||||
#define FF_API_FIFO_OLD_API (LIBAVUTIL_VERSION_MAJOR < 59)
|
||||
#endif
|
||||
|
||||
namespace WallpaperEngine::Audio {
|
||||
class CAudioContext;
|
||||
|
||||
|
@ -2,8 +2,3 @@
|
||||
|
||||
#include "WallpaperEngine/Core/Wallpapers/CWeb.h"
|
||||
#include "WallpaperEngine/Logging/CLog.h"
|
||||
|
||||
// TODO: FIND A BETTER PLACE TO DO THIS? OLD_API MIGHT EXIST BUT THIS DEFINE MIGHT NOT BE DEFINED...
|
||||
#ifndef FF_API_FIFO_OLD_API
|
||||
#define FF_API_FIFO_OLD_API (LIBAVUTIL_VERSION_MAJOR < 59)
|
||||
#endif
|
Loading…
Reference in New Issue
Block a user