mirror of
https://github.com/LizardByte/Sunshine.git
synced 2025-04-07 13:21:05 +00:00
Fix leak of AVPackets
This commit is contained in:
parent
5b24148cfa
commit
85af19150c
@ -33,7 +33,7 @@ namespace video {
|
|||||||
}
|
}
|
||||||
|
|
||||||
~packet_raw_t() {
|
~packet_raw_t() {
|
||||||
av_packet_unref(this->av_packet);
|
av_packet_free(&this->av_packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
struct replace_t {
|
struct replace_t {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user