avconv: do not silently ignore unused codec AVOptions.
authorAnton Khirnov <anton@khirnov.net>
Thu, 21 Feb 2013 09:58:46 +0000 (10:58 +0100)
committerAnton Khirnov <anton@khirnov.net>
Fri, 8 Mar 2013 13:15:51 +0000 (14:15 +0100)
commite7553f4c781751dc8ff243526caae009fc101921
tree3c93ee871a1a767845abe2135ed229cd8cc33fd9
parentdb2d65ce1ed13ea9a530b1934963a16c3e8fa460
avconv: do not silently ignore unused codec AVOptions.

Print an error and abort when the option is of the wrong type (decoding
for output file or vice versa), since this could never be correct for
any input or output configuration.

Print a warning and continue when the option is of the correct type,
just unused, so same commandlines can be reused for different kinds of
input or output files.
Changelog
avconv_opt.c