Fix leak of AVPackets

This commit is contained in:
Cameron Gutman 2023-05-22 17:21:17 -05:00
parent 5b24148cfa
commit 85af19150c

View File

@ -33,7 +33,7 @@ namespace video {
}
~packet_raw_t() {
av_packet_unref(this->av_packet);
av_packet_free(&this->av_packet);
}
struct replace_t {