We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 606df7e commit 60cb17dCopy full SHA for 60cb17d
lib/transmuxer/h265.js
@@ -359,10 +359,12 @@ shaka.transmuxer.H265 = class {
359
gb.readBoolean(); // frame_field_info_present_flag
360
defaultDisplayWindowFlag = gb.readBoolean();
361
if (defaultDisplayWindowFlag) {
362
- leftOffset += gb.readUnsignedExpGolomb();
363
- rightOffset += gb.readUnsignedExpGolomb();
364
- topOffset += gb.readUnsignedExpGolomb();
365
- bottomOffset += gb.readUnsignedExpGolomb();
+ // We ignore these 4 offsets since they are not necessary for
+ // calculating the width and height.
+ gb.skipExpGolomb();
366
367
368
}
369
const vuiTimingInfoPresentFlag = gb.readBoolean();
370
if (vuiTimingInfoPresentFlag) {
0 commit comments