Bug 1412558 - Allow using flac decoder from system ffmpeg. r?jya draft
authorJan Beich <jbeich@FreeBSD.org>
Sat, 28 Oct 2017 21:01:01 +0000
changeset 688201 11702020dd2731b519f4717884e550f33705f70b
parent 688189 908af7f6a7257012a6cdd90f95dcd9b04f56c832
child 688202 b76b5c36e309ed5010baf9a35cea8021ca929682
child 688203 b16a1270b1283e806e6705dee50570ba37c2d693
push id86689
push userbmo:jbeich@FreeBSD.org
push dateSat, 28 Oct 2017 22:18:14 +0000
reviewersjya
bugs1412558
milestone58.0a1
Bug 1412558 - Allow using flac decoder from system ffmpeg. r?jya MozReview-Commit-ID: GdYIL3zu7Mj
dom/media/flac/FlacDecoder.cpp
--- a/dom/media/flac/FlacDecoder.cpp
+++ b/dom/media/flac/FlacDecoder.cpp
@@ -8,17 +8,17 @@
 #include "MediaContainerType.h"
 #include "MediaPrefs.h"
 
 namespace mozilla {
 
 /* static */ bool
 FlacDecoder::IsEnabled()
 {
-#ifdef MOZ_FFVPX
+#if defined(MOZ_FFMPEG) || defined(MOZ_FFVPX)
   return MediaPrefs::FlacEnabled();
 #else
   // Until bug 1295886 is fixed.
   return false;
 #endif
 }
 
 /* static */ bool