diff --git a/dom/media/eme/MediaKeySystemAccess.cpp b/dom/media/eme/MediaKeySystemAccess.cpp index 1a12708784d0..06ca391a1f9e 100644 --- a/dom/media/eme/MediaKeySystemAccess.cpp +++ b/dom/media/eme/MediaKeySystemAccess.cpp @@ -10,6 +10,9 @@ #include "mozilla/Preferences.h" #include "MediaContainerType.h" #include "MediaPrefs.h" +#ifdef MOZ_FMP4 +#include "MP4Decoder.h" +#endif #ifdef XP_WIN #include "WMFDecoderModule.h" #endif diff --git a/dom/media/eme/MediaKeys.cpp b/dom/media/eme/MediaKeys.cpp index 8b91fdc7bc4a..7a79cfff3a13 100644 --- a/dom/media/eme/MediaKeys.cpp +++ b/dom/media/eme/MediaKeys.cpp @@ -23,6 +23,9 @@ #include "nsContentUtils.h" #include "nsIScriptObjectPrincipal.h" #include "nsContentTypeParser.h" +#ifdef MOZ_FMP4 +#include "MP4Decoder.h" +#endif #ifdef XP_WIN #include "mozilla/WindowsVersion.h" #endif diff --git a/dom/media/gtest/TestMediaDataDecoder.cpp b/dom/media/gtest/TestMediaDataDecoder.cpp index 341c05e29426..4beba01a7f5a 100644 --- a/dom/media/gtest/TestMediaDataDecoder.cpp +++ b/dom/media/gtest/TestMediaDataDecoder.cpp @@ -8,6 +8,7 @@ #include "MockMediaResource.h" #include "DecoderTraits.h" #include "MediaContainerType.h" +#include "MP4Decoder.h" #include "MP4Demuxer.h" #include "WebMDecoder.h" #include "WebMDemuxer.h" diff --git a/dom/media/platforms/agnostic/eme/EMEDecoderModule.cpp b/dom/media/platforms/agnostic/eme/EMEDecoderModule.cpp index fe1d18975eea..2072b7f1107c 100644 --- a/dom/media/platforms/agnostic/eme/EMEDecoderModule.cpp +++ b/dom/media/platforms/agnostic/eme/EMEDecoderModule.cpp @@ -8,6 +8,7 @@ #include "EMEVideoDecoder.h" #include "GMPDecoderModule.h" #include "GMPService.h" +#include "MP4Decoder.h" #include "MediaInfo.h" #include "MediaPrefs.h" #include "PDMFactory.h"