avconv: switch opening decoders and encoders
authorAnton Khirnov <anton@khirnov.net>
Mon, 18 Jan 2016 19:00:23 +0000 (20:00 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 23 Feb 2016 16:01:58 +0000 (17:01 +0100)
commit5b9cdf8cba114c41239bf0f9f5e0ccb6977d1c8d
treea112b583bc4ad985d7df070efd8cdfd808946289
parent9200514ad8717c63f82101dc394f4378854325bf
avconv: switch opening decoders and encoders

Open decoders first, next encoders. This makes sure that that
subtitle_header is always set properly, without relying on
avformat_find_stream_info() setting it.
avconv.c