Skip to content

Commit 4f7a4fb

Browse files
committed
Call std::memset
1 parent eb8de72 commit 4f7a4fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/_core/BetaCudaDeviceInterface.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ class BetaCudaDeviceInterface : public DeviceInterface {
7979
bool occupied = false;
8080

8181
FrameBufferSlot() : guessedPts(-1), occupied(false) {
82-
memset(&dispInfo, 0, sizeof(dispInfo));
82+
std::memset(&dispInfo, 0, sizeof(dispInfo));
8383
}
8484
};
8585

0 commit comments

Comments
 (0)