| Index: media/filters/ffmpeg_audio_decoder.cc
|
| diff --git a/media/filters/ffmpeg_audio_decoder.cc b/media/filters/ffmpeg_audio_decoder.cc
|
| index 12e7be812c063b6c4a14e42bcf7615c4b58e822d..5d9e3c166551b28cc88f435bd5c147022dd49d69 100644
|
| --- a/media/filters/ffmpeg_audio_decoder.cc
|
| +++ b/media/filters/ffmpeg_audio_decoder.cc
|
| @@ -67,7 +67,7 @@ bool FFmpegAudioDecoder::OnInitialize(DemuxerStream* demuxer_stream) {
|
| // Prepare the output buffer.
|
| output_buffer_.reset(static_cast<uint8*>(av_malloc(kOutputBufferSize)));
|
| if (!output_buffer_.get()) {
|
| - host_->Error(PIPELINE_ERROR_OUT_OF_MEMORY);
|
| + host()->Error(PIPELINE_ERROR_OUT_OF_MEMORY);
|
| return false;
|
| }
|
| return true;
|
| @@ -101,7 +101,7 @@ void FFmpegAudioDecoder::OnDecode(Buffer* input) {
|
| if (result < 0 ||
|
| output_buffer_size < 0 ||
|
| static_cast<size_t>(output_buffer_size) > kOutputBufferSize) {
|
| - host_->Error(PIPELINE_ERROR_DECODE);
|
| + host()->Error(PIPELINE_ERROR_DECODE);
|
| return;
|
| }
|
|
|
|
|