Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1072)

Unified Diff: media/filters/ffmpeg_demuxer.cc

Issue 4291001: Convert implicit scoped_refptr constructor calls to explicit ones, part 2 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/build
Patch Set: comments Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | net/base/host_resolver_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/ffmpeg_demuxer.cc
diff --git a/media/filters/ffmpeg_demuxer.cc b/media/filters/ffmpeg_demuxer.cc
index 658bd8aac686e91ffb1a27499b8b2e118687a049..e966c7bc116fd7d01091b8ebbc3eaad2e00d8e55 100644
--- a/media/filters/ffmpeg_demuxer.cc
+++ b/media/filters/ffmpeg_demuxer.cc
@@ -447,8 +447,8 @@ void FFmpegDemuxer::InitializeTask(DataSource* data_source,
= new FFmpegDemuxerStream(this, stream);
DCHECK(demuxer_stream);
- streams_.push_back(demuxer_stream);
- packet_streams_.push_back(demuxer_stream);
+ streams_.push_back(make_scoped_refptr(demuxer_stream));
+ packet_streams_.push_back(make_scoped_refptr(demuxer_stream));
max_duration = std::max(max_duration, demuxer_stream->duration());
} else {
packet_streams_.push_back(NULL);
« no previous file with comments | « media/base/pipeline_impl.cc ('k') | net/base/host_resolver_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698