On 08/23/2016 02:18 PM, Michael Niedermayer wrote:
see:
0421 15:12 Michael Niederm (3.9K) [FFmpeg-devel] [PATCH] avutil/mem: remove 
av_realloc / av_malloc incompatibility warning
i think thats a better choice than maintaining all memory allocation
in 2 incompatible systems

Well, it's still not completely useless even if redundant, given that the interface is more similar to av_malloc_array and av_realloc_array. Code that resizes arrays needing to make a copy of the array would be more uniform with a function such as av_arraydup (better called av_dup_array?).

But that's only a philosophical reason. And now checking for my use scenario I noticed that the code that made use of the function does not exist anymore, so this patch can be just dropped.

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to