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

Unified Diff: media/filters/chunk_demuxer.cc

Issue 710693003: Report PIPELINE_ERROR_DECODE when SourceState::Append fails. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 11 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
« no previous file with comments | « media/base/pipeline.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/filters/chunk_demuxer.cc
diff --git a/media/filters/chunk_demuxer.cc b/media/filters/chunk_demuxer.cc
index ffa7612299efb033612c3cb225f6198d3a2c4c6e..b59dcf395cb851d595596e69ee028365c4a69a25 100644
--- a/media/filters/chunk_demuxer.cc
+++ b/media/filters/chunk_demuxer.cc
@@ -1348,17 +1348,6 @@ void ChunkDemuxer::AppendData(
switch (state_) {
case INITIALIZING:
- DCHECK(IsValidId(id));
- if (!source_state_map_[id]->Append(data, length,
- append_window_start,
- append_window_end,
- timestamp_offset,
- init_segment_received_cb)) {
- ReportError_Locked(DEMUXER_ERROR_COULD_NOT_OPEN);
- return;
- }
- break;
-
case INITIALIZED: {
wolenetz 2015/01/24 01:13:41 nit: is enclosure of case in {} necessary? It seem
DCHECK(IsValidId(id));
if (!source_state_map_[id]->Append(data, length,
« no previous file with comments | « media/base/pipeline.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698