mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Fix used_by_curr_pic_flag to align with H.265 spec
This commit is contained in:
parent
bc0dc01a69
commit
b08120d752
1 changed files with 1 additions and 1 deletions
|
|
@ -436,7 +436,7 @@ public final class H265Reader implements ElementaryStreamReader {
|
||||||
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]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue