mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-08-30 17:58:37 +08:00
obs-ffmpeg: Further FFmpeg deprecations fixes for FFmpeg 4.4+
avcodec.h stopped including channel_layout.h per FFmpeg commit 1be3d8a0cb77 [1]. Fixes compilation error on macOS against FFmpeg later than the mentioned commit. [1] https://github.com/FFmpeg/FFmpeg/commit/1be3d8a0cb77f8d34c1f39b47bf5328fe10c82d7
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#include <util/dstr.h>
|
||||
#include <libavcodec/avcodec.h>
|
||||
#include <libavformat/avformat.h>
|
||||
#include <libavutil/channel_layout.h>
|
||||
|
||||
#define ANSI_COLOR_RED "\x1b[0;91m"
|
||||
#define ANSI_COLOR_MAGENTA "\x1b[0;95m"
|
||||
|
||||
@@ -25,6 +25,7 @@
|
||||
#include "obs-ffmpeg-output.h"
|
||||
#include "obs-ffmpeg-formats.h"
|
||||
#include "obs-ffmpeg-compat.h"
|
||||
#include <libavutil/channel_layout.h>
|
||||
|
||||
struct ffmpeg_output {
|
||||
obs_output_t *output;
|
||||
|
||||
Reference in New Issue
Block a user