mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-07-31 21:08:38 +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) {
|
if (len < 0) {
|
||||||
qCritical("Could not decode video packet: %d", len);
|
qCritical("Could not decode video packet: %d", len);
|
||||||
|
av_packet_unref(&packet);
|
||||||
goto runQuit;
|
goto runQuit;
|
||||||
}
|
}
|
||||||
if (gotPicture) {
|
if (gotPicture) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue