| Index: media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc
|
| diff --git a/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc b/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc
|
| index b6823792aeed443403b5ea8ce9290d7087461b25..082b35eccc686057066031f35284e43c1a1bc9e0 100644
|
| --- a/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc
|
| +++ b/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc
|
| @@ -180,7 +180,7 @@ bool FFmpegCdmAudioDecoder::Initialize(const cdm::AudioDecoderConfig& config) {
|
| }
|
|
|
| // Success!
|
| - av_frame_.reset(avcodec_alloc_frame());
|
| + av_frame_.reset(av_frame_alloc());
|
| samples_per_second_ = config.samples_per_second;
|
| bytes_per_frame_ = codec_context_->channels * config.bits_per_channel / 8;
|
| output_timestamp_helper_.reset(
|
|
|