Index: media/filters/h264_parser.cc |
diff --git a/media/filters/h264_parser.cc b/media/filters/h264_parser.cc |
index fd5646d49ecb3830315b0a8600c3665e5455b561..1dd4a25926b65ce5911faf858726237a0aaf141d 100644 |
--- a/media/filters/h264_parser.cc |
+++ b/media/filters/h264_parser.cc |
@@ -115,8 +115,8 @@ static const int kTableSarWidth[] = { |
static const int kTableSarHeight[] = { |
0, 1, 11, 11, 11, 33, 11, 11, 11, 33, 11, 11, 33, 99, 3, 2, 1 |
}; |
-COMPILE_ASSERT(arraysize(kTableSarWidth) == arraysize(kTableSarHeight), |
- sar_tables_must_have_same_size); |
+static_assert(arraysize(kTableSarWidth) == arraysize(kTableSarHeight), |
+ "sar tables must have the same size"); |
H264Parser::H264Parser() { |
Reset(); |