]> git.sesse.net Git - ffmpeg/commit
avcodec/h2645_parse: Reset nal_buffer_size on uninit
authorAndriy Gelman <andriy.gelman@gmail.com>
Tue, 15 Oct 2019 01:45:18 +0000 (21:45 -0400)
committerJames Almer <jamrial@gmail.com>
Tue, 15 Oct 2019 02:59:56 +0000 (23:59 -0300)
commitcebb446911fdc6c42d5a480b441b025c399e4a88
tree7f9712e0517c39bfec70f88916faaa7385e6665c
parent2e4f86e04ca6abdf8a1829dce210ceeef46eb224
avcodec/h2645_parse: Reset nal_buffer_size on uninit

Without reseting nal_buffer_size, av_fast_realloc will fail if
ff_h2645_packet_split is called with the unitialized pkt as argument.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/h2645_parse.c