Skip to content

Commit

Permalink
Add more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
vrabaud committed Oct 9, 2024
1 parent 3a4b4b4 commit c6050a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions cmake/Modules/LocalAom.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,8 @@ else()
PATCH_COMMAND sed -i CMakeLists.txt -e "s:CMAKE_CURRENT_BINARY_DIR\}/flatbuffers:CMAKE_BINARY_DIR\}/flatbuffers:"
UPDATE_COMMAND ""
)
# This will disable the tensorflow dependency.
set(CONFIG_ML_PART_SPLIT 0 CACHE INTERNAL "")
else()
FetchContent_Declare(
libaom URL "https://aomedia.googlesource.com/aom/+archive/${AVIF_LOCAL_AOM_GIT_TAG}.tar.gz" BINARY_DIR
Expand Down
2 changes: 0 additions & 2 deletions src/obu.c
Original file line number Diff line number Diff line change
Expand Up @@ -372,9 +372,7 @@ static avifBool parseAV2SequenceHeader(avifBits * bits, avifSequenceHeader * hea

// See av1_read_sequence_header() in avm.
AVIF_CHECK(parseSequenceHeaderFrameMaxDimensions(bits, header));
#if CONFIG_BLOCK_256
if (!avifBitsRead(bits, 1)) // BLOCK_256X256
#endif
avifBitsRead(bits, 1); // BLOCK_128X128
AVIF_CHECK(parseSequenceHeaderEnabledFeatures(bits, header));

Expand Down

0 comments on commit c6050a7

Please sign in to comment.