Skip to content

Commit fc2142d

Browse files
committed
more stuff
1 parent 7cca5e4 commit fc2142d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/torchcodec/_core/SingleStreamDecoder.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1366,8 +1366,8 @@ int SingleStreamDecoder::getKeyFrameIdentifier(int64_t pts) const {
13661366
// scanned key-frame vector (streamInfo.keyFrames). So the returned value is
13671367
// in [0, num_key_frames).
13681368
// - If seek_mode is approximate, we use av_index_search_timestamp() which
1369-
// may return a value in [0, num_frames) like for mkv, but also a value in
1370-
// [0, num_frames) like for mp4. It really depends on the container.
1369+
// may return a value in [0, num_key_frames) like for mkv, but also a value
1370+
// in [0, num_frames) like for mp4. It really depends on the container.
13711371
//
13721372
// The range of the "identifier" doesn't matter that much, for now we only
13731373
// use it to uniquely identify a key frame in canWeAvoidSeeking().

0 commit comments

Comments
 (0)