Index: media/ffmpeg/ffmpeg_common.cc |
diff --git a/media/ffmpeg/ffmpeg_common.cc b/media/ffmpeg/ffmpeg_common.cc |
index 1f0cc92e4926eb631d187ec6fe3102026f3126de..51e8884fedb1b35fab80b24e13abda6ae4c8f688 100644 |
--- a/media/ffmpeg/ffmpeg_common.cc |
+++ b/media/ffmpeg/ffmpeg_common.cc |
@@ -11,6 +11,7 @@ |
#include "base/strings/string_split.h" |
#include "base/strings/string_util.h" |
#include "build/build_config.h" |
+#include "media/base/audio_decoder_config.h" |
#include "media/base/decoder_buffer.h" |
#include "media/base/video_decoder_config.h" |
#include "media/base/video_util.h" |
@@ -110,8 +111,8 @@ static AudioCodec CodecIDToAudioCodec(AVCodecID codec_id) { |
return kUnknownAudioCodec; |
} |
-static AVCodecID AudioCodecToCodecID(AudioCodec audio_codec, |
- SampleFormat sample_format) { |
+AVCodecID AudioCodecToCodecID(AudioCodec audio_codec, |
+ SampleFormat sample_format) { |
switch (audio_codec) { |
case kCodecAAC: |
return AV_CODEC_ID_AAC; |