summaryrefslogtreecommitdiff
path: root/src/lib/ffmpeg_file_encoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2021-08-03 21:24:51 +0200
committerCarl Hetherington <cth@carlh.net>2021-08-03 21:24:51 +0200
commit4e2ff7851127cd85c3e7d78b42eb884d0cda0ac3 (patch)
tree4d998510add120ab95838f2455a94cc565248fd6 /src/lib/ffmpeg_file_encoder.cc
parente14c78e13eab9125a875e90b97c7dab77aa46b90 (diff)
Fix build with newer FFmpeg.
Diffstat (limited to 'src/lib/ffmpeg_file_encoder.cc')
-rw-r--r--src/lib/ffmpeg_file_encoder.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/ffmpeg_file_encoder.cc b/src/lib/ffmpeg_file_encoder.cc
index 83e707725..533fd151c 100644
--- a/src/lib/ffmpeg_file_encoder.cc
+++ b/src/lib/ffmpeg_file_encoder.cc
@@ -29,6 +29,9 @@
#include "image.h"
#include "cross.h"
#include "compose.hpp"
+extern "C" {
+#include <libavutil/channel_layout.h>
+}
#include <iostream>
#include "i18n.h"