avformat/aviobuf: zero initialize the AVIOContext in ffio_init_context()
authorJames Almer <jamrial@gmail.com>
Wed, 14 Feb 2018 23:56:21 +0000 (20:56 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 14 Feb 2018 23:56:51 +0000 (20:56 -0300)
commitaa6280805e21e1e2c3fb7bb1efb47a27ceeb3fed
tree9882e2b2085b45251024fdbb12b47e031884f933
parent23e1bf6e51106f54ab75551ccc98361b83ba55fe
avformat/aviobuf: zero initialize the AVIOContext in ffio_init_context()

This makes sure no field is ever used uninitialized.

Reviewed-by: Carl Eugen Hoyos <ceffmpeg@gmail.com>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavformat/aviobuf.c