Skip to content

Commit 160d449

Browse files
author
Daniel Flores
committed
use nullptr instead of 0
1 parent b13b5db commit 160d449

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/_core/Encoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -609,7 +609,7 @@ void VideoEncoder::initializeEncoder(
609609
getSupportedPixelFormats(*avCodec), // List of supported formats
610610
AV_PIX_FMT_GBRP, // We reorder input to GBRP currently
611611
0, // No alpha channel
612-
0 // Discard conversion loss information
612+
nullptr // Discard conversion loss information
613613
);
614614
TORCH_CHECK(outPixelFormat_ != -1, "Failed to find best pix fmt")
615615

0 commit comments

Comments
 (0)