| Index: media/filters/decoder_stream.cc
|
| diff --git a/media/filters/decoder_stream.cc b/media/filters/decoder_stream.cc
|
| index a177c67935e3f1e62293009bb8be4fcdfc710ea9..db424e3ab91e41dd2a33b59c7e28e9e814195a23 100644
|
| --- a/media/filters/decoder_stream.cc
|
| +++ b/media/filters/decoder_stream.cc
|
| @@ -205,7 +205,8 @@ void DecoderStream<StreamType>::Reset(const base::Closure& closure) {
|
| template <DemuxerStream::Type StreamType>
|
| bool DecoderStream<StreamType>::CanReadWithoutStalling() const {
|
| DCHECK(task_runner_->BelongsToCurrentThread());
|
| - return !ready_outputs_.empty() || decoder_->CanReadWithoutStalling();
|
| + return !ready_outputs_.empty() ||
|
| + (decoder_ && decoder_->CanReadWithoutStalling());
|
| }
|
|
|
| template <>
|
|
|