avconv: do not abort immediately if initializing hwaccel fails
authorAnton Khirnov <anton@khirnov.net>
Mon, 9 Mar 2015 09:54:00 +0000 (10:54 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 10 Mar 2015 06:40:11 +0000 (07:40 +0100)
commitdc7536ca3d2dbe47f40cc0fcd0fc2555a84d5f56
tree3fe608bb774647657552770254b9c007d7cff89c
parent93f7948136fcda8ddbbc44a6c24418f11ca829b8
avconv: do not abort immediately if initializing hwaccel fails

exit_program() will try to free the decoders, which is not a good idea
from within get_format().
Return an error instead.
avconv.c