Skip to content

Commit f989b7d

Browse files
author
zyan3
committed
minor fix to define PyInit_video_reader symbol
1 parent d76f248 commit f989b7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchvision/csrc/cpu/video_reader/VideoReader.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PyMODINIT_FUNC init_video_reader(void) {
1818
return NULL;
1919
}
2020
#else
21-
PyMODINIT_FUNC PyInit__video_reader(void) {
21+
PyMODINIT_FUNC PyInit_video_reader(void) {
2222
// No need to do anything.
2323
return NULL;
2424
}

0 commit comments

Comments
 (0)