MCPcopy Create free account
hub / github.com/OpenShot/libopenshot / RemoveAVPacket

Method RemoveAVPacket

src/FFmpegReader.cpp:3003–3009  ·  view source on GitHub ↗

Remove AVPacket from cache (and deallocate its memory)

Source from the content-addressed store, hash-verified

3001
3002// Remove AVPacket from cache (and deallocate its memory)
3003void FFmpegReader::RemoveAVPacket(AVPacket *remove_packet) {
3004 // deallocate memory for packet
3005 AV_FREE_PACKET(remove_packet);
3006
3007 // Delete the object
3008 delete remove_packet;
3009}
3010
3011// Generate JSON string of this object
3012std::string FFmpegReader::Json() const {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected