@ -382,6 +382,9 @@ runQuit:
if (m_recorder) {
m_recorder->close();
}
if (decoderBuffer) {
av_free(decoderBuffer);
if (avioCtx) {
av_freep(&avioCtx);