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:30:28 +0000 (00:30 -0300)
commit9482ec1b203e4cf51d7f60c85d261cc13f9a9d2f
treea9782712fc0c3e04336b700674ed64c5ed39f810
parent4f273b97b046762e9cf1f2f950448e7874c08e64
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>
libavformat/hevc.c