Revision 7fce481a libavfilter/vf_unsharp.c

View differences:

libavfilter/vf_unsharp.c
202 202
    unsharpen(out->data[1], in->data[1], out->linesize[1], in->linesize[1], CHROMA_WIDTH(link), CHROMA_HEIGHT(link), &unsharp->chroma);
203 203
    unsharpen(out->data[2], in->data[2], out->linesize[2], in->linesize[2], CHROMA_WIDTH(link), CHROMA_HEIGHT(link), &unsharp->chroma);
204 204

  
205
    avfilter_unref_pic(in);
205
    avfilter_unref_buffer(in);
206 206
    avfilter_draw_slice(link->dst->outputs[0], 0, link->h, 1);
207 207
    avfilter_end_frame(link->dst->outputs[0]);
208
    avfilter_unref_pic(out);
208
    avfilter_unref_buffer(out);
209 209
}
210 210

  
211 211
static void draw_slice(AVFilterLink *link, int y, int h, int slice_dir)

Also available in: Unified diff