Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#3642 closed defect (fixed)

video filter "vignette" has memory leak

Reported by: coffey Owned by:
Priority: normal Component: avfilter
Version: git-master Keywords: vignette leak
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no


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);

Attachments (1)

0001-add-free-input-buffer.patch (644 bytes ) - added by coffey 8 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Clément Bœsch, 8 years ago

Erm, yeah you're right. Can you send a git format-patch or at least give your full name for correct authorship?

by coffey, 8 years ago


comment:2 by coffey, 8 years ago

upload patch 0001-add-free-input-buffer.patch
please confirm.

comment:3 by Clément Bœsch, 8 years ago

Resolution: fixed
Status: newclosed

Thank you, applied with a different commit message in 491d602283cdde8cf8623fbacf55066551c57ae3.

comment:4 by Carl Eugen Hoyos, 8 years ago

Keywords: leak added
Note: See TracTickets for help on using tickets.