diff --git a/packager/media/codecs/h264_parser.cc b/packager/media/codecs/h264_parser.cc index 252f85cdd4..c73acf4f90 100644 --- a/packager/media/codecs/h264_parser.cc +++ b/packager/media/codecs/h264_parser.cc @@ -675,9 +675,6 @@ H264Parser::Result H264Parser::ParseSps(const Nalu& nalu, int* sps_id) { READ_UE_OR_RETURN(&sps->max_num_ref_frames); READ_BOOL_OR_RETURN(&sps->gaps_in_frame_num_value_allowed_flag); - if (sps->gaps_in_frame_num_value_allowed_flag) - return kUnsupportedStream; - READ_UE_OR_RETURN(&sps->pic_width_in_mbs_minus1); READ_UE_OR_RETURN(&sps->pic_height_in_map_units_minus1);