Index: content/common/gpu/media/h264_parser.cc |
diff --git a/content/common/gpu/media/h264_parser.cc b/content/common/gpu/media/h264_parser.cc |
index c4d09eda6dfcb42e38fb06238fa870764512b96a..1eb93da5f21149cc05b0651c53cbc11f169e988c 100644 |
--- a/content/common/gpu/media/h264_parser.cc |
+++ b/content/common/gpu/media/h264_parser.cc |
@@ -460,7 +460,8 @@ H264Parser::Result H264Parser::ParseSPSScalingLists(H264SPS* sps) { |
READ_BOOL_OR_RETURN(&seq_scaling_list_present_flag); |
if (seq_scaling_list_present_flag) { |
- res = ParseScalingList(sizeof(sps->scaling_list4x4[i]), |
+ CHECK_EQ(arraysize(sps->scaling_list4x4[i]), kH264ScalingList4x4Length); |
Pawel Osciak
2013/03/08 02:37:53
I don't see how this check would be useful.
|
+ res = ParseScalingList(arraysize(sps->scaling_list4x4[i]), |
sps->scaling_list4x4[i], &use_default); |
if (res != kOk) |
return res; |