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 937089a commit fab70ddCopy full SHA for fab70dd
src/FFmpegReader.cpp
@@ -1038,6 +1038,8 @@ int FFmpegReader::GetNextPacket() {
1038
// Update current packet pointer
1039
packet = next_packet;
1040
}
1041
+ else
1042
+ delete next_packet;
1043
1044
// Return if packet was found (or error number)
1045
return found_packet;
0 commit comments