Commit f9d3bedb by kimvde Committed by tonihei

Fix inconsistency with spec in H.265 SPS nal units parsing

Issue: google/ExoPlayer#9719

#minor-release

PiperOrigin-RevId: 412424558
parent 2a62a5ee
......@@ -784,7 +784,7 @@ public final class NalUnitUtil {
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]
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment