File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/torchcodec/decoders/_core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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;
You can’t perform that action at this time.
0 commit comments