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..fcabc91aa726ebf7bc9385cea3f90cb9cda6fde9 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; |
stefan-webrtc
2016/09/30 13:33:09
I'd also prefer != 0.
kthelgason
2016/09/30 14:09:48
You guys are no fun :(
|
// bottom_field_pic_order_in_frame_present_flag: u(1) |
uint32_t bottom_field_pic_order_in_frame_present_flag; |
RETURN_EMPTY_ON_FAIL( |