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

Issue 141013008: Report parse error for WebM clusters missing a timecode (Closed)

Created:
6 years, 11 months ago by wolenetz
Modified:
6 years, 11 months ago
CC:
chromium-reviews, feature-media-reviews_chromium.org
Visibility:
Public.

Description

Report parse error for WebM clusters missing a timecode Replaces a DCHECK with parse error when parsing a WebM cluster that has no timecode. This supplements the existing WebMClusterParser::OnBlock() logic that similarly indicates parse error when processing blocks. However, if there were no blocks in the cluster, then the DCHECK could have been hit if there were no timecode. R=acolwell@chromium.org BUG=335344 TEST=(local Linux) All media_unittests pass including the new ones Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=245608

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fix nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -1 line) Patch
M media/webm/webm_cluster_parser.cc View 1 chunk +5 lines, -1 line 0 comments Download
M media/webm/webm_cluster_parser_unittest.cc View 1 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (0 generated)
wolenetz
PTAL. cluster_timecode is mandatory for every Matroska cluster, so let's issue parse failure instead of ...
6 years, 11 months ago (2014-01-17 01:57:07 UTC) #1
acolwell GONE FROM CHROMIUM
lgtm % nits https://codereview.chromium.org/141013008/diff/1/media/webm/webm_cluster_parser_unittest.cc File media/webm/webm_cluster_parser_unittest.cc (right): https://codereview.chromium.org/141013008/diff/1/media/webm/webm_cluster_parser_unittest.cc#newcode532 media/webm/webm_cluster_parser_unittest.cc:532: int size = sizeof(kBuffer); nit: just ...
6 years, 11 months ago (2014-01-17 16:34:25 UTC) #2
wolenetz
Thanks. I'll CQ this shortly. https://codereview.chromium.org/141013008/diff/1/media/webm/webm_cluster_parser_unittest.cc File media/webm/webm_cluster_parser_unittest.cc (right): https://codereview.chromium.org/141013008/diff/1/media/webm/webm_cluster_parser_unittest.cc#newcode532 media/webm/webm_cluster_parser_unittest.cc:532: int size = sizeof(kBuffer); ...
6 years, 11 months ago (2014-01-17 18:47:55 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/wolenetz@chromium.org/141013008/150001
6 years, 11 months ago (2014-01-17 18:52:12 UTC) #4
commit-bot: I haz the power
6 years, 11 months ago (2014-01-17 20:38:56 UTC) #5
Message was sent while issue was closed.
Change committed as 245608

Powered by Google App Engine
This is Rietveld 408576698