Skip to content

Commit f614846

Browse files
committed
Use uint32_t types
1 parent 7e4dd10 commit f614846

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/torchcodec/_core/NVDECCache.h

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

5858
CacheKey() = delete;
5959

0 commit comments

Comments
 (0)