Fix build with newer FFmpeg.
[dcpomatic.git] / src / lib / ffmpeg_file_encoder.cc
index 83e707725718aeb14f3c0b19bd6ba368f251da11..533fd151c648cb083e6b6e57b3db80edf27ae19d 100644 (file)
@@ -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"