diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-26 02:51:37 +0300 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2010-11-26 02:51:37 +0300 |
commit | 2467997c8c540a50950d7d2078d8bb9d7cb56d24 (patch) | |
tree | 4e633772b7ce4a7ebdba9194e10521ee4a312ade /libavfilter | |
parent | 9b195435b3f98480e300f7c00a20e52c9bbce65f (diff) |
Fix crash in uninit.
Originally committed as revision 25829 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/vf_frei0r.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavfilter/vf_frei0r.c b/libavfilter/vf_frei0r.c index 49fe172be0..48f5b49841 100644 --- a/libavfilter/vf_frei0r.c +++ b/libavfilter/vf_frei0r.c @@ -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(); |