Skip to content

Commit

Permalink
Fix AVM header parsing (AOMediaCodec#1931)
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud authored Jan 11, 2024
1 parent 169ee36 commit b65394b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/obu.c
Original file line number Diff line number Diff line change
Expand Up @@ -381,7 +381,7 @@ static avifBool parseAV2SequenceHeader(avifBits * bits, avifSequenceHeader * hea
#if CONFIG_LR_IMPROVEMENTS
avifBitsRead(bits, /*RESTORE_SWITCHABLE_TYPES=*/5); // lr_tools_disable_mask[0]
if (avifBitsRead(bits, 1)) {
avifBitsRead(bits, /*RESTORE_SWITCHABLE_TYPES=*/5 - 1); // lr_tools_disable_mask[1]
avifBitsRead(bits, /*RESTORE_SWITCHABLE_TYPES=*/5 - 1 - 1); // lr_tools_disable_mask[1]
}
#endif
}
Expand Down

0 comments on commit b65394b

Please sign in to comment.