| Index: media/filters/ffmpeg_audio_decoder.cc
|
| diff --git a/media/filters/ffmpeg_audio_decoder.cc b/media/filters/ffmpeg_audio_decoder.cc
|
| index 7f81864646d5ab8d8794006ce88b54523d86ded3..146fc9726f17ea90d091f2b75daa36bd6f571148 100644
|
| --- a/media/filters/ffmpeg_audio_decoder.cc
|
| +++ b/media/filters/ffmpeg_audio_decoder.cc
|
| @@ -346,10 +346,11 @@ bool FFmpegAudioDecoder::ConfigureDecoder() {
|
|
|
| if (codec_context_->channels !=
|
| ChannelLayoutToChannelCount(config_.channel_layout())) {
|
| - DLOG(ERROR) << "Audio configuration specified "
|
| - << ChannelLayoutToChannelCount(config_.channel_layout())
|
| - << " channels, but FFmpeg thinks the file contains "
|
| - << codec_context_->channels << " channels";
|
| + MEDIA_LOG(ERROR, media_log_)
|
| + << "Audio configuration specified "
|
| + << ChannelLayoutToChannelCount(config_.channel_layout())
|
| + << " channels, but FFmpeg thinks the file contains "
|
| + << codec_context_->channels << " channels";
|
| ReleaseFFmpegResources();
|
| state_ = kUninitialized;
|
| return false;
|
|
|