On 12/30/17, Carl Eugen Hoyos <ceffm...@gmail.com> wrote: > Hi! > > FFmpeg has an arbitrary allocation limit (2G iirc), av_fast_realloc() > increases the allocation even if the requested is equal the already > allocated size. I believe this can lead to unnecessary OOM (no > testcase) if the requested (and already allocated) size is close to > our limit. > Additionally, this avoids an over-allocation for the mov stts patch I just > sent. > Attached patch changes the behaviour introduced 15 years ago. > > Please comment, Carl Eugen >
LGTM _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel