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:37:13 +0000 (00:37 -0300)
commite0750d2067dc71133cf1c16c0884bd605a4578c7
tree971dd0f899a7f9089248b4837b6353d408278209
parent8ae9bbef87f89f7ea0633b86bf0cadf243bc488f
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