[FFmpeg-devel] [PATCH] lavf/matroskadec: Use av_realloc() in get_qt_codec()

Mats Peterson matsp888 at yahoo.com
Tue Jan 12 15:09:12 CET 2016


On 01/12/2016 02:32 PM, Michael Niedermayer wrote:
> On Mon, Jan 11, 2016 at 07:43:29AM +0100, Mats Peterson wrote:
>> Use av_realloc() rather than av_malloc() when normalizing noncompliant
>> private data in get_qt_codec(). Based on your comments, Michael, it
>> seems to be OK,
>
>> and is more "elegant" in my book than using
>> av_malloc()/memcpy()/av_free().
>
> yes
>
> appplied
>
> thanks
>
Thanks, Michael.



More information about the ffmpeg-devel mailing list