avformat/hvcc: zero initialize the nal buffers past the last written byte
authorJames Almer <jamrial@gmail.com>
Fri, 23 Feb 2018 03:03:15 +0000 (00:03 -0300)
committerJames Almer <jamrial@gmail.com>
Sat, 24 Feb 2018 03:36:57 +0000 (00:36 -0300)
commit26755a8c6f6d3f548b941c9848d5e16fb19b1493
tree46960a824a0ed7df3ae2b2a543db761b4d695f19
parent3f8a0d5ad1a9ee2d15083f954a75f2aabe987b07
avformat/hvcc: zero initialize the nal buffers past the last written byte

Prevents use of uninitialized values.

Fixes ticket #7038.

Reviewed-by: Michael Niedermayer <michael@niedermayer.cc>
Signed-off-by: James Almer <jamrial@gmail.com>
(cherry picked from commit 9482ec1b203e4cf51d7f60c85d261cc13f9a9d2f)
libavformat/hevc.c