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:38:00 +0000 (00:38 -0300)
commite2edfff9a8f1e0d10af1251f3c90eb806d841c7e
tree49dca47391600de5011ec9a7ac2e5fe640ddc780
parentfea559c3d5575bce51acdb17cf83a1a8fd237feb
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