[FFmpeg-cvslog] r25193 - trunk/libavfilter/vf_crop.c
stefano
subversion
Sat Sep 25 15:42:18 CEST 2010
Author: stefano
Date: Sat Sep 25 15:42:17 2010
New Revision: 25193
Log:
Fix memleak introduced in:
r25185 | stefano | 2010-09-25 03:18:43 +0200 (Sat, 25 Sep 2010) | 1 line
Make the crop filters accept parametric expressions.
Modified:
trunk/libavfilter/vf_crop.c
Modified: trunk/libavfilter/vf_crop.c
==============================================================================
--- trunk/libavfilter/vf_crop.c Sat Sep 25 12:16:15 2010 (r25192)
+++ trunk/libavfilter/vf_crop.c Sat Sep 25 15:42:17 2010 (r25193)
@@ -305,6 +305,7 @@ static void end_frame(AVFilterLink *link
CropContext *crop = link->dst->priv;
crop->var_values[N] += 1.0;
+ avfilter_unref_buffer(link->cur_buf);
avfilter_end_frame(link->dst->outputs[0]);
}
More information about the ffmpeg-cvslog
mailing list