FIX: ffmpeg decoder memory leak

Change-Id: I997572b5730618a969959f9b24c405d80fa9f83c
Jira: STUDIO-7597
(cherry picked from commit 342cea29bd9593fa89cbb33caff58055b46ebeec)
This commit is contained in:
chunmao.guo
2024-07-12 17:00:24 +08:00
committed by Noisyfox
parent 7c09b0bcba
commit 8832d54b53
3 changed files with 14 additions and 15 deletions

View File

@@ -34,6 +34,7 @@ private:
AVFrame * frame_ = nullptr;
SwsContext * sws_ctx_ = nullptr;
bool got_frame_ = false;
std::vector<uint8_t> bits_;
};
#endif // AVVIDEODECODER_HPP