Index: media/filters/ffmpeg_demuxer_unittest.cc |
diff --git a/media/filters/ffmpeg_demuxer_unittest.cc b/media/filters/ffmpeg_demuxer_unittest.cc |
index 92766f1cdcfe4db048b6ddf9dc73998d72feb60d..11bcbb3a72d318ba05f5bf0243dbb7252070805f 100644 |
--- a/media/filters/ffmpeg_demuxer_unittest.cc |
+++ b/media/filters/ffmpeg_demuxer_unittest.cc |
@@ -107,7 +107,7 @@ |
DemuxerStream* GetStream(DemuxerStream::Type type) { |
std::vector<DemuxerStream*> streams = demuxer_->GetAllStreams(); |
- for (auto* stream : streams) { |
+ for (const auto& stream : streams) { |
if (stream->type() == type) |
return stream; |
} |