ffprobe: change order of operations in probe_file()
authorStefano Sabatini <stefasab@gmail.com>
Thu, 29 Dec 2011 11:50:25 +0000 (12:50 +0100)
committerStefano Sabatini <stefasab@gmail.com>
Wed, 4 Jan 2012 00:05:56 +0000 (01:05 +0100)
commit90347dabc8a41c03e4d282c301de917cd9b9e21b
tree44c0ef435e9460192d0ffde577496e150ca86902
parentc972f91d5bd652dcb6f15ab603378db3b2e76e04
ffprobe: change order of operations in probe_file()

This is required by a pending patch, also fixes a memleak due to the
writer context not being closed in case of open_input_file() failure.
ffprobe.c