Am Di., 31. März 2020 um 11:18 Uhr schrieb Anton Khirnov <an...@khirnov.net>:
>
> Quoting Carl Eugen Hoyos (2020-03-28 13:54:22)
> > Hi!
> >
> > Attached patch allows to work-around ticket #7140, tested on a system
> > with a lot of memory.
>
> This looks very ad-hoc.

Is there another part of FFmpeg that rightfully allocates that much memory?

> The right thing to do is fix arbitrary limits in
> av_malloc_array().

> That INT_MAX there looks wrong.

I wonder if it is a good idea that demuxers and decoders cannot allocate
random amounts of memory...

Carl Eugen
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to