Skip to content

Commit b5fe9bc

Browse files
committed
define width and height as unsigned int
1 parent 2592888 commit b5fe9bc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/torchcodec/_core/NVDECCache.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ class NVDECCache {
4949
// all these parameters match.
5050
struct CacheKey {
5151
cudaVideoCodec codecType;
52-
unsigned width;
53-
unsigned height;
52+
unsigned int width;
53+
unsigned int height;
5454
cudaVideoChromaFormat chromaFormat;
5555
unsigned int bitDepthLumaMinus8;
5656
unsigned char numDecodeSurfaces;

0 commit comments

Comments
 (0)