mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
Fix crash in uninit.
Originally committed as revision 25829 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
9b195435b3
commit
2467997c8c
@ -275,7 +275,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
||||
{
|
||||
Frei0rContext *frei0r = ctx->priv;
|
||||
|
||||
if (frei0r->destruct)
|
||||
if (frei0r->destruct && frei0r->instance)
|
||||
frei0r->destruct(frei0r->instance);
|
||||
if (frei0r->deinit)
|
||||
frei0r->deinit();
|
||||
|
Loading…
x
Reference in New Issue
Block a user