[FFmpeg-trac] #7827(avformat:new): libavformat/libavcodec might leak some memory when muxing a flac stream into a matroska container

FFmpeg trac at avcodec.org
Sun Apr 7 08:04:53 EEST 2019


#7827: libavformat/libavcodec might leak some memory when muxing a flac stream
into a matroska container
------------------------------------+------------------------------------
             Reporter:  pbelkner    |                    Owner:
                 Type:  defect      |                   Status:  new
             Priority:  normal      |                Component:  avformat
              Version:  git-master  |               Resolution:
             Keywords:  mkv leak    |               Blocked By:
             Blocking:              |  Reproduced by developer:  0
Analyzed by developer:  0           |
------------------------------------+------------------------------------
Changes (by mypopy):

 * cc: mypopydev@… (added)
 * version:  unspecified => git-master


Comment:

 Peter, I've reproduced the memory leak issue with examples muxing.c (
 inspired by your patch.) when enabled the FLAC audio codec.

 This is the patch V2(suggested by Andreas Rheinhardt after the V1 patch)
 to fix the memory leak: https://patchwork.ffmpeg.org/patch/12614/.

 You can apply the patch V2, then verify. Thanks.

--
Ticket URL: <https://trac.ffmpeg.org/ticket/7827#comment:6>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list