Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenShot/libopenshot
/ ScopedPacket
Method
ScopedPacket
examples/VulkanBenchmark.cpp:106–106 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
104
AVPacket* packet = nullptr;
105
106
ScopedPacket() : packet(av_packet_alloc()) {}
107
~ScopedPacket() {
108
if (packet)
109
av_packet_free(&packet);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected