Re: [FFmpeg-devel] Custom allocation functions

2021-03-10 Thread Martijn Otto
This seems all very reasonable. Most of these suggestions are easily fixed, but I am struggling to find the best approach to avoiding those global function pointers. The approach of storing these in some kind of context, as mentioned in the referenced message looks like the best solution. Am I

Re: [FFmpeg-devel] Custom allocation functions

2021-03-06 Thread Nicolas George
Martijn Otto (12021-03-05): > Hello all, > > I have made some changes to get custom allocation functions in ffmpeg. > This is useful to me, as the software I work with easily runs into > congestion on memory allocations in certain cases. > > I hope it is useful to others as well. It would be

Re: [FFmpeg-devel] Custom allocation functions

2021-03-06 Thread Carl Eugen Hoyos
Am Fr., 5. März 2021 um 15:45 Uhr schrieb Martijn Otto : > I have made some changes to get custom allocation functions in ffmpeg. > This is useful to me, as the software I work with easily runs into > congestion on memory allocations in certain cases. I thought the dynamic linker allows you to

[FFmpeg-devel] Custom allocation functions

2021-03-05 Thread Martijn Otto
Hello all, I have made some changes to get custom allocation functions in ffmpeg. This is useful to me, as the software I work with easily runs into congestion on memory allocations in certain cases. I hope it is useful to others as well. It would be nice if this could be part of ffmpeg proper.