Index: webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc |
diff --git a/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc b/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc |
index eba597d9e3037a12cd80b2e4e592ce07a087b90d..df35f2e7048fbcf57a08cb6cd89a23668289293d 100644 |
--- a/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc |
+++ b/webkit/media/crypto/ppapi/ffmpeg_cdm_audio_decoder.cc |
@@ -188,7 +188,7 @@ cdm::Status FFmpegCdmAudioDecoder::DecodeBuffer( |
int64_t input_timestamp, |
cdm::AudioFrames* decoded_frames) { |
DVLOG(1) << "DecodeBuffer()"; |
- const bool is_end_of_stream = compressed_buffer_size == 0; |
+ const bool is_end_of_stream = !compressed_buffer; |
base::TimeDelta timestamp = |
base::TimeDelta::FromMicroseconds(input_timestamp); |