Index: webrtc/common_video/h264/pps_parser.cc |
diff --git a/webrtc/common_video/h264/pps_parser.cc b/webrtc/common_video/h264/pps_parser.cc |
index a48d27bfc7fd8c2706b78dc7b72b41a12d429ac4..0215549959e39be2d224090539f29938c096a486 100644 |
--- a/webrtc/common_video/h264/pps_parser.cc |
+++ b/webrtc/common_video/h264/pps_parser.cc |
@@ -82,9 +82,7 @@ rtc::Optional<PpsParser::PpsState> PpsParser::ParseInternal( |
// entropy_coding_mode_flag: u(1) |
uint32_t entropy_coding_mode_flag; |
RETURN_EMPTY_ON_FAIL(bit_buffer->ReadBits(&entropy_coding_mode_flag, 1)); |
- // TODO(pbos): Implement CABAC support if spotted in the wild. |
- RTC_CHECK(entropy_coding_mode_flag == 0) |
- << "Don't know how to parse CABAC streams."; |
+ pps.entropy_coding_mode_flag = entropy_coding_mode_flag != 0; |
// bottom_field_pic_order_in_frame_present_flag: u(1) |
uint32_t bottom_field_pic_order_in_frame_present_flag; |
RETURN_EMPTY_ON_FAIL( |