#4484: libavcodec: memory leak at libavcodec/utils.c:unrefcount_frame
-------------------------------------+-------------------------------------
             Reporter:  faham        |                     Type:  defect
               Status:  new          |                 Priority:  critical
            Component:  avcodec      |                  Version:
             Keywords:  memory leak  |  unspecified
             Blocking:               |               Blocked By:
Analyzed by developer:  0            |  Reproduced by developer:  0
-------------------------------------+-------------------------------------
 I'm using ffmpeg (revision: ecafde6606a51c285ed7ca4d27697392b493919e) to
 playback HD audio (ac3) contents for more than a few hours (long-term
 runs) and observe a mem leak in ffmpeg/libavcodec/utils.c:2287 inside
 unrefcount_frame.

 It looks like the call to av_frame_copy_props() is leading to the leak,
 I'm not sure if it is necessary to do this operation or not but by
 removing that line the mem leak goes away. Can find further info in the
 attached valgrind-massif output.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/4484>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
_______________________________________________
FFmpeg-trac mailing list
[email protected]
http://avcodec.org/mailman/listinfo/ffmpeg-trac

Reply via email to