fix:decoder内存泄漏

This commit is contained in:
Barry 2019-06-12 09:14:44 +08:00
commit e4b3fb76d9

View file

@ -412,10 +412,8 @@ runQuit:
if (m_recorder) {
m_recorder->close();
}
if (decoderBuffer) {
av_free(decoderBuffer);
}
if (avioCtx) {
av_free(avioCtx->buffer);
av_freep(&avioCtx);
}
if (formatCtx && isFormatCtxOpen) {