avconv: fix handling attachments in init_output_stream
authorAnton Khirnov <anton@khirnov.net>
Mon, 23 May 2016 07:59:35 +0000 (09:59 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 21 Jun 2016 10:39:02 +0000 (12:39 +0200)
commit5e1840622ce6e41c57d9c407604863d3f3dcc3ae
tree47c14301a84d35c3f68ce517365f38beee6c3f33
parent73c6ec6d659bab11ac424a4ba6ce3a56246295ee
avconv: fix handling attachments in init_output_stream

The current code assumes that encoding_needed is simply an inverse of
stream_copy, which is not true for manually attached files (for which
neither of those is true).
avconv.c