修复decoder内存泄漏

dev
Barry 7 years ago
parent 84b94b422a
commit 297381defc

@ -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…
Cancel
Save