提交 81f6fdf0 编写于 作者: Z Zhang Rui

ffplay: fix aout/vout leak

上级 049748ad
......@@ -2640,13 +2640,12 @@ void ffp_destroy(FFPlayer *ffp)
ffp->is = NULL;
}
SDL_VoutFreeP(&ffp->vout);
SDL_AoutFreeP(&ffp->aout);
ffp_reset_internal(ffp);
msg_queue_destroy(&ffp->msg_queue);
SDL_VoutFreeP(&ffp->vout);
SDL_AoutFreeP(&ffp->aout);
av_free(ffp);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册