Remove restriction on sps:gaps_in_frame_num_value_allowed_flag

Packager should not care about this flag, whether it is supported
is up to the decoder.

Closes #126

Change-Id: I5e05d291eab01375f7f11c951b9dc93c1358c38a
This commit is contained in:
Kongqun Yang 2016-07-18 11:35:35 -07:00 committed by KongQun Yang
parent cf778f7149
commit a80995538d
1 changed files with 0 additions and 3 deletions

View File

@ -675,9 +675,6 @@ H264Parser::Result H264Parser::ParseSps(const Nalu& nalu, int* sps_id) {
READ_UE_OR_RETURN(&sps->max_num_ref_frames); READ_UE_OR_RETURN(&sps->max_num_ref_frames);
READ_BOOL_OR_RETURN(&sps->gaps_in_frame_num_value_allowed_flag); 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_width_in_mbs_minus1);
READ_UE_OR_RETURN(&sps->pic_height_in_map_units_minus1); READ_UE_OR_RETURN(&sps->pic_height_in_map_units_minus1);