mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-07-29 12:18:39 +00:00
修复decoder内存泄漏
This commit is contained in:
parent
1ed6c20548
commit
1add69c9b8
1 changed files with 1 additions and 0 deletions
|
@ -197,6 +197,7 @@ void Decoder::run()
|
|||
}
|
||||
if (len < 0) {
|
||||
qCritical("Could not decode video packet: %d", len);
|
||||
av_packet_unref(&packet);
|
||||
goto runQuit;
|
||||
}
|
||||
if (gotPicture) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue