Skip to content

Commit

Permalink
Fix inconsistency with spec in H.265 SPS nal units parsing
Browse files Browse the repository at this point in the history
Issue: google/ExoPlayer#9719

#minor-release

PiperOrigin-RevId: 412424558
  • Loading branch information
kim-vde authored and tonihei committed Dec 2, 2021
1 parent 2a62a5e commit f9d3bed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ private static void skipShortTermReferencePictureSets(ParsableNalUnitBitArray bi
bitArray.skipBit(); // delta_rps_sign
bitArray.readUnsignedExpGolombCodedInt(); // abs_delta_rps_minus1
for (int j = 0; j <= previousNumDeltaPocs; j++) {
if (bitArray.readBit()) { // used_by_curr_pic_flag[j]
if (!bitArray.readBit()) { // used_by_curr_pic_flag[j]
bitArray.skipBit(); // use_delta_flag[j]
}
}
Expand Down

0 comments on commit f9d3bed

Please sign in to comment.