avconv: only apply presets when we have an encoder.
commit4e61a38aa038b7027c5ed423635168d463515d24
authorAnton Khirnov <anton@khirnov.net>
Mon, 22 Oct 2012 20:40:22 +0000 (22 22:40 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 23 Oct 2012 05:30:58 +0000 (23 07:30 +0200)
tree9936e13a7cb1d592cc43ceabe3494840cb00e6d2
parenta1f4cd371ac7ff9fea6f0d3072fc886380160844
avconv: only apply presets when we have an encoder.

Fixes a crash when using a preset with stream copy.

CC: libav-stable@libav.org
avconv_opt.c