Fix StreamParserBuffer creation in WebMClusterParser.
commit7b20a3d63d493d733664be92c177f17bff2731ce
authorxhwang <xhwang@chromium.org>
Tue, 25 Nov 2014 23:22:47 +0000 (25 15:22 -0800)
committerCommit bot <commit-bot@chromium.org>
Tue, 25 Nov 2014 23:23:07 +0000 (25 23:23 +0000)
treeef76f7ff1d41d2f77ac75acf2b4613a150b4b4de
parentf1132dda40ad38c1bed5232b0b9598e102153b64
Fix StreamParserBuffer creation in WebMClusterParser.

The side_data_size should never be negative.

BUG=432998

Review URL: https://codereview.chromium.org/757933002

Cr-Commit-Position: refs/heads/master@{#305724}
media/base/decoder_buffer.cc
media/formats/webm/webm_cluster_parser.cc
media/formats/webm/webm_cluster_parser.h