ffprobe: set writer context to 0 after allocation
authorStefano Sabatini <stefasab@gmail.com>
Tue, 19 Mar 2013 16:57:50 +0000 (17:57 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Tue, 19 Mar 2013 17:00:34 +0000 (18:00 +0100)
commite292d75113fdcb28dcd76321771ec139393af35e
tree3b013c6ad8392bda7f50a3ebffb8a8e3286476bd
parent1c3b4281148cf04e8befe2fa55e832cfa7133a47
ffprobe: set writer context to 0 after allocation

Avoid access to uninitialized values, which may result in a crash.

This happens for example in case of option parsing failure, since in that
case the internal AVBprint buffers are not initialized.
ffprobe.c