Index: media/ffmpeg/ffmpeg_common.h |
diff --git a/media/ffmpeg/ffmpeg_common.h b/media/ffmpeg/ffmpeg_common.h |
index f065a6d85a9eb4929f86f8cca8128286bdbd011a..3813348532f96d30e1fec32cfb68b72ef8802caa 100644 |
--- a/media/ffmpeg/ffmpeg_common.h |
+++ b/media/ffmpeg/ffmpeg_common.h |
@@ -94,6 +94,12 @@ void VideoDecoderConfigToAVCodecContext( |
const VideoDecoderConfig& config, |
AVCodecContext* codec_context); |
+MEDIA_EXPORT void AVCodecContextToAudioDecoderConfig( |
+ const AVCodecContext* codec_context, |
+ bool is_encrypted, |
+ AudioDecoderConfig* config, |
+ bool record_stats); |
+ |
// Converts FFmpeg's channel layout to chrome's ChannelLayout. |channels| can |
// be used when FFmpeg's channel layout is not informative in order to make a |
// good guess about the plausible channel layout based on number of channels. |