Skip to content

Commit 3aeb00b

Browse files
committed
typos
1 parent f0ff127 commit 3aeb00b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/torchcodec/decoders/_core/VideoDecoder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,8 +490,8 @@ void VideoDecoder::addVideoStreamDecoder(
490490

491491
// We will only need packets from the active stream, so we tell FFmpeg to
492492
// discard packets from the other streams. Note that av_read_frame() may still
493-
// return some of those un-desired packet under some conditions, so it's still
494-
// important to discard/demux correctly in the inner decoding loop.
493+
// return some of those undesired packets under some conditions, so it's still
494+
// important to discard/demux packets correctly in the inner decoding loop.
495495
for (unsigned int i = 0; i < formatContext_->nb_streams; ++i) {
496496
if (i != static_cast<unsigned int>(activeStreamIndex_)) {
497497
formatContext_->streams[i]->discard = AVDISCARD_ALL;

0 commit comments

Comments
 (0)