aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sonic.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2019-05-17 00:29:48 +0200
committerJames Almer <jamrial@gmail.com>2019-06-24 20:59:33 -0300
commit1215b3a5f3f801f1f3179b9c29a0d52f906eef98 (patch)
tree343d3868241203da0e0b1020b0d4190856820dab /libavcodec/sonic.c
parent99147312ce6ffd3a3b70e10aacc9b64a63b6aefe (diff)
downloadffmpeg-1215b3a5f3f801f1f3179b9c29a0d52f906eef98.tar.gz
avformat/matroskadec: Don't zero unnecessarily
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 <andreas.rheinhardt@gmail.com>
Diffstat (limited to 'libavcodec/sonic.c')
0 files changed, 0 insertions, 0 deletions