[FFmpeg-trac] #1900(avcodec:open): h264: huge memory allocation and a memleak

FFmpeg trac at avcodec.org
Sat Mar 2 20:51:59 CET 2013

#1900: h264: huge memory allocation and a memleak
             Reporter:  ami_stuff   |                    Owner:
                 Type:  defect      |                   Status:  open
             Priority:  normal      |                Component:  avcodec
              Version:  git-master  |               Resolution:
             Keywords:  h264 leak   |               Blocked By:
             Blocking:              |  Reproduced by developer:  1
Analyzed by developer:  0           |

Comment (by cehoyos):

 Several identical allocations (the biggest) happen in av_image_alloc() for
 images with a resolution of 20000x4000, this could happen in valid
 streams, more such allocations happen if threads > 1.
 The memleak with threads > 1 is still reproducible.

Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1900#comment:12>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker

More information about the FFmpeg-trac mailing list