Close output codecs if input codec initialisation fails.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 8 Mar 2013 01:46:46 +0000 (02:46 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 8 Mar 2013 01:46:46 +0000 (02:46 +0100)
commit199db97fbdd92c58b8f0e50eac60fead35e4dc57
treef61347cfdac2e6ffee9afd698c0de095a500747b
parenta21fd660279c60359836a87a6f6a58850c2a6bb4
Close output codecs if input codec initialisation fails.

Fixes ticket #1546 and the remaining part of ticket #1244.
ffmpeg.c