A method of decoding video data, the method comprising: receiving, in a network abstraction layer unit, a slice of a current picture to be decoded for a sequence of video data, wherein the current picture comprises a broken link access picture and the NAL unit has a NAL unit type that is one of a plurality of NAL unit types including: a coded slice of a BLA picture, wherein the BLA picture is a BLA picture with associated leading pictures in a bitstream, and a coded slice of a BLA picture, wherein the BLA picture is a BLA picture with no associated leading pictures in the bitstream; receiving, in a slice header of the slice, one or more entropy coded syntax elements and non-entropy coded syntax elements; and decoding the slice based on the non-entropy coded syntax elements, characterized in that: the non-entropy encoded syntax elements in the slice header of the slice comprise a no_output_of_prior_pics_flag syntax element that is included in the slice header immediately after a syntax element that indicates whether the slice is a first slice, in decoding order, of the current picture, and the no_output_of_prior_pics_flag syntax element is before all of the entropy encoded syntax elements in the slice header and indicates whether pictures prior to the current picture in decoding order are to be emptied from a decoded picture buffer without being output. receiving, in a network abstraction layer unit, a slice of a current picture to be decoded for a sequence of video data, wherein the current picture comprises a broken link access picture and the NAL unit has a NAL unit type that is one of a plurality of NAL unit types including: a coded slice of a BLA picture, wherein the BLA picture is a BLA picture with associated leading pictures in a bitstream, and a coded slice of a BLA picture, wherein the BLA picture is a BLA picture with no associated leading pictures in the bitstream; a coded slice of a BLA picture, wherein the BLA picture is a BLA picture with associated leading pictures in a bitstream, and a coded slice of a BLA picture, wherein the BLA picture is a BLA picture with no associated leading pictures in the bitstream; receiving, in a slice header of the slice, one or more entropy coded syntax elements and non-entropy coded syntax elements; and decoding the slice based on the non-entropy coded syntax elements, characterized in that: the non-entropy encoded syntax elements in the slice header of the slice comprise a no_output_of_prior_pics_flag syntax element that is included in the slice header immediately after a syntax element that indicates whether the slice is a first slice, in decoding order, of the current picture, and the no_output_of_prior_pics_flag syntax element is before all of the entropy encoded syntax elements in the slice header and indicates whether pictures prior to the current picture in decoding order are to be emptied from a decoded picture buffer without being output. the non-entropy encoded syntax elements in the slice header of the slice comprise a no_output_of_prior_pics_flag syntax element that is included in the slice header immediately after a syntax element that indicates whether the slice is a first slice, in decoding order, of the current picture, and the no_output_of_prior_pics_flag syntax element is before all of the entropy encoded syntax elements in the slice header and indicates whether pictures prior to the current picture in decoding order are to be emptied from a decoded picture buffer without being output.