mirror of
https://github.com/thinkonmay/sunshine-sdk.git
synced 2025-12-29 08:46:53 +00:00
Fix leak of AVPackets
This commit is contained in:
parent
5b24148cfa
commit
85af19150c
@ -33,7 +33,7 @@ namespace video {
|
||||
}
|
||||
|
||||
~packet_raw_t() {
|
||||
av_packet_unref(this->av_packet);
|
||||
av_packet_free(&this->av_packet);
|
||||
}
|
||||
|
||||
struct replace_t {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user