Re: [FFmpeg-devel] [PATCH 02/10] avformat/matroskadec: Don't zero unnecessarily

2019-03-08 Thread James Almer
On 3/8/2019 6:25 AM, Andreas Rheinhardt wrote: > It is only necessary to zero the initial allocated memory used to store > the size of laced frames if the block used Xiph lacing. Otherwise no > unintialized data was ever used, so use av_malloc instead of av_mallocz. > > Also use the correct type f

[FFmpeg-devel] [PATCH 02/10] avformat/matroskadec: Don't zero unnecessarily

2019-03-08 Thread Andreas Rheinhardt
It is only necessary to zero the initial allocated memory used to store the size of laced frames if the block used Xiph lacing. Otherwise no unintialized data was ever used, so use av_malloc instead of av_mallocz. Also use the correct type for the allocations. Signed-off-by: Andreas Rheinhardt -