Fix memleak due to not deleting okpt in VideoStore destructor

pull/3574/head
Isaac Connor 2022-08-06 09:22:38 -04:00
parent 5405ebdaa8
commit 896a05c65d
1 changed files with 1 additions and 0 deletions

View File

@ -747,6 +747,7 @@ VideoStore::~VideoStore() {
avformat_free_context(oc);
delete[] next_dts;
next_dts = nullptr;
delete opkt;
} // VideoStore::~VideoStore()
bool VideoStore::setup_resampler() {