summaryrefslogtreecommitdiffstats
path: root/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc
diff options
context:
space:
mode:
Diffstat (limited to 'media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc')
-rw-r--r--media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc b/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc
index 97d04e8..5bc52a8 100644
--- a/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc
+++ b/media/cdm/ppapi/ffmpeg_cdm_audio_decoder.cc
@@ -130,7 +130,7 @@ static void CopySamples(cdm::AudioFormat cdm_format,
}
}
-FFmpegCdmAudioDecoder::FFmpegCdmAudioDecoder(cdm::Host* host)
+FFmpegCdmAudioDecoder::FFmpegCdmAudioDecoder(CdmHost* host)
: is_initialized_(false),
host_(host),
samples_per_second_(0),
@@ -354,7 +354,7 @@ cdm::Status FFmpegCdmAudioDecoder::DecodeBuffer(
const uint32_t buffer_size = decoded_audio_size + sizeof(int64) * 2;
decoded_frames->SetFrameBuffer(host_->Allocate(buffer_size));
if (!decoded_frames->FrameBuffer()) {
- LOG(ERROR) << "DecodeBuffer() cdm::Host::Allocate failed.";
+ LOG(ERROR) << "DecodeBuffer() CdmHost::Allocate failed.";
return cdm::kDecodeError;
}
decoded_frames->FrameBuffer()->SetSize(buffer_size);
@@ -392,7 +392,7 @@ cdm::Status FFmpegCdmAudioDecoder::DecodeBuffer(
decoded_frames->SetFrameBuffer(
host_->Allocate(serialized_audio_frames_.size()));
if (!decoded_frames->FrameBuffer()) {
- LOG(ERROR) << "DecodeBuffer() cdm::Host::Allocate failed.";
+ LOG(ERROR) << "DecodeBuffer() CdmHost::Allocate failed.";
return cdm::kDecodeError;
}
memcpy(decoded_frames->FrameBuffer()->Data(),