We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa6e253 commit 186eaa4Copy full SHA for 186eaa4
src/torchcodec/_core/SingleStreamDecoder.cpp
@@ -1202,6 +1202,7 @@ UniqueAVFrame SingleStreamDecoder::decodeAVFrame(
1202
if (status == AVERROR_EOF) {
1203
// End of file reached. We must drain the decoder
1204
if (useCustomInterface) {
1205
+ // TODONVDEC P0: Re-think this. This should be simpler.
1206
AutoAVPacket eofAutoPacket;
1207
ReferenceAVPacket eofPacket(eofAutoPacket);
1208
eofPacket->data = nullptr;
0 commit comments