]> git.sesse.net Git - ffmpeg/commit
avcodec/vc2enc: Actually zero padding
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Mon, 26 Apr 2021 16:16:24 +0000 (18:16 +0200)
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
Mon, 26 Apr 2021 18:07:21 +0000 (20:07 +0200)
commitaa2e0b868df559a17a10fc40578617bc254885b8
tree20828ab46974efab7a9098f9f9c3f54af16e6fcc
parentcc7943e80329524b41672ab68f8bdf758c4e5551
avcodec/vc2enc: Actually zero padding

This encoder sets the min_size in ff_alloc_packet2(), so it can not rely
on av_packet_make_refcounted() to zero the padding.

Reviewed-by: Lynne <dev@lynne.ee>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
libavcodec/vc2enc.c