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

Mats Peterson matsp888 at yahoo.com
Mon Jan 11 07:43:29 CET 2016


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/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavf-matroskadec-Use-av_realloc-in-get_qt_codec.patch
Type: text/x-patch
Size: 1416 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160111/a067fb8f/attachment.bin>


More information about the ffmpeg-devel mailing list