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

2016-01-12 Thread Michael Niedermayer
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 >

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

2016-01-12 Thread Mats Peterson
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"

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

2016-01-10 Thread Mats Peterson
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(). Mats -- Mats Peterson http://matsp888.no-ip.org/~mats/ >From