[FFmpeg-trac] #3642(avfilter:new): video filter "vignette" has memory leak

FFmpeg trac at avcodec.org
Fri May 16 00:50:17 CEST 2014

#3642: video filter "vignette" has memory leak
             Reporter:  coffey    |                     Type:  defect
               Status:  new       |                 Priority:  normal
            Component:  avfilter  |                  Version:  git-master
             Keywords:  vignette  |               Blocked By:
             Blocking:            |  Reproduced by developer:  0
Analyzed by developer:  0         |
 I tried next command
 ffplay -i foobar.mp4 -vf vignette
 increase working memory and stoped by out of memory

 libavfilter/vf_vignette.c line 271
 in filter_frame() function.
 insert af_frame_free(&in) before "return" to prevent memory leak.

     return ff_filter_frame(outlink, out);

     return ff_filter_frame(outlink, out);

Ticket URL: <https://trac.ffmpeg.org/ticket/3642>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list