Commit dbec03b5 by kimvde Committed by kim-vde

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

Issue: google/ExoPlayer#9719

#minor-release

PiperOrigin-RevId: 412424558
parent 0e65925b
...@@ -5,6 +5,9 @@ ...@@ -5,6 +5,9 @@
* Core library: * Core library:
* Support preferred video role flags in track selection * Support preferred video role flags in track selection
((#9402)[https://github.com/google/ExoPlayer/issues/9402]). ((#9402)[https://github.com/google/ExoPlayer/issues/9402]).
* Extractors:
* Fix inconsistency with spec in H.265 SPS nal units parsing
((#9719)[https://github.com/google/ExoPlayer/issues/9719]).
* DRM: * DRM:
* Remove `playbackLooper` from `DrmSessionManager.(pre)acquireSession`. * Remove `playbackLooper` from `DrmSessionManager.(pre)acquireSession`.
When a `DrmSessionManager` is used by an app in a custom `MediaSource`, When a `DrmSessionManager` is used by an app in a custom `MediaSource`,
......
...@@ -779,7 +779,7 @@ public final class NalUnitUtil { ...@@ -779,7 +779,7 @@ public final class NalUnitUtil {
bitArray.skipBit(); // delta_rps_sign bitArray.skipBit(); // delta_rps_sign
bitArray.readUnsignedExpGolombCodedInt(); // abs_delta_rps_minus1 bitArray.readUnsignedExpGolombCodedInt(); // abs_delta_rps_minus1
for (int j = 0; j <= previousNumDeltaPocs; j++) { 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] 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