Fix leak of AVPackets
This commit is contained in:
parent
5b24148cfa
commit
85af19150c
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue