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

FFmpeg trac at avcodec.org
Mon Dec 24 02:40:08 CET 2012

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

Comment (by michael):

 huge memory allocations can be prevented by limiting through -max_alloc X.
 While its possible in specific cases to more intelligently prevent huge
 allocations, this is not true in general, one can always encounter a file
 that stores a 8000x8000 yuv 4:4:4 16bit video that needs 16 frame buffers.

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

More information about the FFmpeg-trac mailing list