Skip to content

Commit 2d97555

Browse files
committed
Remove old code
1 parent 179a01c commit 2d97555

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/torchcodec/decoders/_core/VideoDecoder.cpp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,10 +1396,6 @@ void VideoDecoder::convertAudioAVFrameToFrameOutputOnCPU(
13961396
outputChannelData, avFrame->extended_data[channel], numBytesPerChannel);
13971397
}
13981398
frameOutput.data = outputData;
1399-
1400-
// TODO
1401-
av_frame_free(&output_frame);
1402-
swr_free(&swr_ctx);
14031399
}
14041400

14051401
UniqueAVFrame VideoDecoder::convertAudioAVFrameSampleFormat(

0 commit comments

Comments
 (0)