Index: content/renderer/media/audio_decoder.cc |
diff --git a/content/renderer/media/audio_decoder.cc b/content/renderer/media/audio_decoder.cc |
index c413bb08020ae0fc9ff3f940fabc306dfe77bc79..b839744c14b1be9d113f13701f814a2d53270d6c 100644 |
--- a/content/renderer/media/audio_decoder.cc |
+++ b/content/renderer/media/audio_decoder.cc |
@@ -31,6 +31,7 @@ bool DecodeAudioFileData( |
if (!destination_bus) |
return false; |
+#if !defined(MEDIA_DISABLE_FFMPEG) |
// Uses the FFmpeg library for audio file reading. |
InMemoryUrlProtocol url_protocol(reinterpret_cast<const uint8*>(data), |
data_size, false); |
@@ -89,6 +90,9 @@ bool DecodeAudioFileData( |
<< " number of channels: " << number_of_channels; |
return actual_frames > 0; |
+#else |
+ return false; |
+#endif // !defined(MEDIA_DISABLE_FFMPEG) |
} |
} // namespace content |