Skip to content

Commit 7f8e16b

Browse files
author
pytorchbot
committed
2025-10-19 nightly release (871e5a7)
1 parent 45d649f commit 7f8e16b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/_core/Encoder.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ class VideoEncoder {
162162

163163
UniqueEncodingAVFormatContext avFormatContext_;
164164
UniqueAVCodecContext avCodecContext_;
165-
AVStream* avStream_;
165+
AVStream* avStream_ = nullptr;
166166
UniqueSwsContext swsContext_;
167167

168168
const torch::Tensor frames_;

0 commit comments

Comments
 (0)