Skip to content

Commit a132fe5

Browse files
author
Daniel Flores
committed
enable local build
1 parent 6377dfc commit a132fe5

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/torchcodec/_core/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -304,6 +304,8 @@ else()
304304
set(ffmpeg_major_version "6")
305305
elseif (${libavcodec_major_version} STREQUAL "61")
306306
set(ffmpeg_major_version "7")
307+
elseif (${libavcodec_major_version} STREQUAL "62")
308+
set(ffmpeg_major_version "8")
307309
else()
308310
message(
309311
FATAL_ERROR

src/torchcodec/_core/ops.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def load_torchcodec_shared_libraries():
4141
# libraries do not meet those conditions.
4242

4343
exceptions = []
44-
for ffmpeg_major_version in (7, 6, 5, 4):
44+
for ffmpeg_major_version in (8, 7, 6, 5, 4):
4545
pybind_ops_module_name = _get_pybind_ops_module_name(ffmpeg_major_version)
4646
decoder_library_name = f"libtorchcodec_core{ffmpeg_major_version}"
4747
custom_ops_library_name = f"libtorchcodec_custom_ops{ffmpeg_major_version}"

0 commit comments

Comments
 (0)