Skip to content

Commit de4facc

Browse files
committed
Fix
1 parent 0c11f72 commit de4facc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/torchcodec/decoders/_core/VideoDecoder.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -854,7 +854,7 @@ torch::Tensor VideoDecoder::getFramesPlayedInRangeAudio(
854854

855855
StreamInfo& streamInfo = streamInfos_[activeStreamIndex_];
856856

857-
auto lastDecodedFrameIsPlayedAt = [this, &streamInfo](double seconds) {
857+
auto lastDecodedFrameIsPlayedAt = [&streamInfo](double seconds) {
858858
auto pts = secondsToClosestPts(seconds, streamInfo.timeBase);
859859
return (
860860
streamInfo.lastDecodedAvFramePts <= pts and

0 commit comments

Comments
 (0)