plug another small leak

This commit is contained in:
Chad Walker
2019-05-15 10:27:48 -05:00
parent 937089a856
commit fab70dde1e

View File

@@ -1038,6 +1038,8 @@ int FFmpegReader::GetNextPacket() {
// Update current packet pointer
packet = next_packet;
}
else
delete next_packet;
}
// Return if packet was found (or error number)
return found_packet;