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

Unified Diff: services/media/framework/stages/active_source_stage.cc

Issue 1833323002: Motown: Add ActiveMultistreamSource model in preparation for the ffmpeg demux with async I/O (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: dalesat Created 4 years, 9 months 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
Index: services/media/framework/stages/active_source_stage.cc
diff --git a/services/media/framework/stages/active_source_stage.cc b/services/media/framework/stages/active_source_stage.cc
index 1ae91b8bdaf6ac53fe1a831bee8e1a12e8b6d3a8..a38200e610d1d7d01be684c838a87a3d78405b7a 100644
--- a/services/media/framework/stages/active_source_stage.cc
+++ b/services/media/framework/stages/active_source_stage.cc
@@ -30,7 +30,7 @@ size_t ActiveSourceStage::input_count() const {
Input& ActiveSourceStage::input(size_t index) {
CHECK(false) << "input requested from source";
- return *(static_cast<Input*>(nullptr));
+ abort();
}
size_t ActiveSourceStage::output_count() const {
« no previous file with comments | « services/media/framework/stages/active_sink_stage.cc ('k') | services/media/framework/stages/multistream_source_stage.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698