Opened 6 years ago

Closed 6 years ago

Last modified 6 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 6 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 6 years ago by ubitux

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

Changed 6 years ago by coffey


comment:2 Changed 6 years ago by coffey

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

comment:3 Changed 6 years ago by ubitux

  • Resolution set to fixed
  • Status changed from new to closed

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

comment:4 Changed 6 years ago by cehoyos

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