| Index: media/filters/ffmpeg_audio_decoder.cc
|
| diff --git a/media/filters/ffmpeg_audio_decoder.cc b/media/filters/ffmpeg_audio_decoder.cc
|
| index b794cd9d8a88d1403df2b1753a5544d6f5f0c20b..acb0d752fca723572acdc67b4fa33da1abd57222 100644
|
| --- a/media/filters/ffmpeg_audio_decoder.cc
|
| +++ b/media/filters/ffmpeg_audio_decoder.cc
|
| @@ -127,7 +127,7 @@ void FFmpegAudioDecoder::DoInitialize(
|
| AudioDecoderConfigToAVCodecContext(config, codec_context_);
|
|
|
| AVCodec* codec = avcodec_find_decoder(codec_context_->codec_id);
|
| - if (!codec || avcodec_open(codec_context_, codec) < 0) {
|
| + if (!codec || avcodec_open2(codec_context_, codec, NULL) < 0) {
|
| DLOG(ERROR) << "Could not initialize audio decoder: "
|
| << codec_context_->codec_id;
|
|
|
|
|