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..805ff036dd9bf6f2f2674da65d4654ea8bf0633f 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 |
xhwang
2015/11/02 18:11:51
#endif // !defined(MEDIA_DISABLE_FFMPEG)
Julien Isorce Samsung
2015/11/03 16:02:27
Acknowledged.
|
} |
} // namespace content |