[FFmpeg-cvslog] r25829 - trunk/libavfilter/vf_frei0r.c
stefano
subversion
Fri Nov 26 00:51:37 CET 2010
Author: stefano
Date: Fri Nov 26 00:51:37 2010
New Revision: 25829
Log:
Fix crash in uninit.
Modified:
trunk/libavfilter/vf_frei0r.c
Modified: trunk/libavfilter/vf_frei0r.c
==============================================================================
--- trunk/libavfilter/vf_frei0r.c Thu Nov 25 22:22:55 2010 (r25828)
+++ trunk/libavfilter/vf_frei0r.c Fri Nov 26 00:51:37 2010 (r25829)
@@ -275,7 +275,7 @@ static av_cold void uninit(AVFilterConte
{
Frei0rContext *frei0r = ctx->priv;
- if (frei0r->destruct)
+ if (frei0r->destruct && frei0r->instance)
frei0r->destruct(frei0r->instance);
if (frei0r->deinit)
frei0r->deinit();
More information about the ffmpeg-cvslog
mailing list