Skip to content

Commit 8951870

Browse files
committed
dataptr is int64_t
1 parent 6adb7dc commit 8951870

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/_core/pybind_ops.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ int64_t create_from_file_like(
4343
}
4444

4545
int64_t encode_audio_to_file_like(
46-
uintptr_t data_ptr,
46+
int64_t data_ptr,
4747
const std::vector<int64_t>& shape,
4848
int64_t sample_rate,
4949
std::string_view format,

0 commit comments

Comments
 (0)