diff --git a/dom/media/DecoderTraits.cpp b/dom/media/DecoderTraits.cpp index 5093be06c1be..bf181bd7e4ea 100644 --- a/dom/media/DecoderTraits.cpp +++ b/dom/media/DecoderTraits.cpp @@ -310,8 +310,9 @@ DecoderTraits::IsMP4TypeAndEnabled(const nsACString& aType) { #ifdef MOZ_FMP4 return IsMP4SupportedType(aType); -#endif +#else return false; +#endif } static bool @@ -320,8 +321,9 @@ IsMP3SupportedType(const nsACString& aType, { #ifdef MOZ_OMX_DECODER return false; -#endif +#else return MP3Decoder::CanHandleMediaType(aType, aCodecs); +#endif } static bool