﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
880	Clumsy syntax for vps_sub_layer_ordering_info_present_flag	Parabola	bbross	"There is a loop in the VPS syntax that opens thusly:

{{{#!C
  for( i = ( vps_sub_layer_ordering_info_present_flag ?
		0 : vps_max_sub_layers_minus1 );
		i <= vps_max_sub_layers_minus1; i++ ) {
}}}

This takes longer to understand that it should because it does not use idiomatic C-style constructs.  It looks ""hackish"". To improve clarity suggest changing to:

{{{#!C
  for( i = 0; vps_sub_layer_ordering_info_present_flag &&
		i <= vps_max_sub_layers_minus1; i++ ) {
}}}

or

{{{#!C
  if (vps_sub_layer_ordering_info_present_flag)
      for( i = 0; i <= vps_max_sub_layers_minus1; i++ ) {
}}}

"	enhancement	closed	minor		Text	D9 (K1003) v10	duplicate		bbross wjhan jct-vc@…
