[FFmpeg-trac] #2534(avformat:new): maybe memory leak of av_read_frame/av_free_packet.

FFmpeg trac at avcodec.org
Mon May 13 18:20:45 CEST 2013


#2534: maybe memory leak of av_read_frame/av_free_packet.
--------------------------------+------------------------------------
             Reporter:  yan     |                    Owner:
                 Type:  defect  |                   Status:  new
             Priority:  normal  |                Component:  avformat
              Version:  1.2     |               Resolution:
             Keywords:  leak    |               Blocked By:
             Blocking:          |  Reproduced by developer:  0
Analyzed by developer:  0       |
--------------------------------+------------------------------------

Comment (by destroyboy):

 I also see an "apparent" memory leak when decoding video on android. I've
 narrowed it down to the same decoding loop as Yan. It eats up all the
 memory on the devices i've been testing until they crash. Its years since
 I've used valgrind, this is such a big leak it should be easy to find
 without using anything like valgrind?????

 Its strange because other people should see this problem too.

 Yan, did you patch the ffmpeg source at all or just build it straight from
 the repository?

 I'd like to help out on this one.

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2534#comment:2>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list