avconv: Make sure the encoder exists before inspecting supported_list
authorMartin Storsjö <martin@martin.st>
Wed, 6 Mar 2013 13:01:36 +0000 (15:01 +0200)
committerMartin Storsjö <martin@martin.st>
Wed, 6 Mar 2013 19:56:10 +0000 (21:56 +0200)
commite760e1d408261566814e24c43119d7aca538d2eb
treef68a8d9c0f46c380b4037f629f8515e8be7e9266
parent5da51284937649a8ebb84fa951c235438fcbf8ae
avconv: Make sure the encoder exists before inspecting supported_list

This fixes crashes when there is no encoder for the default codec of
selected format.

Signed-off-by: Martin Storsjö <martin@martin.st>
avconv_filter.c