avconv: check that the output format context exists before accessing it
authorAnton Khirnov <anton@khirnov.net>
Wed, 29 May 2013 13:38:21 +0000 (15:38 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 4 Jun 2013 15:20:04 +0000 (17:20 +0200)
commit274e134e49b1c92db0f0b8cb2ae7554fb7b9184c
tree056a41994d128ad49622f033f11d56148c65d910
parent8b7dffc2d6c6c19f8e0a1fedcd0e95dce7a273ff
avconv: check that the output format context exists before accessing it

Fixes a segfault in exit_program() if opening an output file fails.
avconv.c