diff --git a/src/zm_mpeg.cpp b/src/zm_mpeg.cpp index 5dd4c176b..4e3b9f0f3 100644 --- a/src/zm_mpeg.cpp +++ b/src/zm_mpeg.cpp @@ -24,6 +24,9 @@ #include "zm_mpeg.h" #if HAVE_LIBAVCODEC +extern "C" { +#include +} bool VideoStream::initialised = false;