avconv: move the avcodec_find_decoder() call to add_input_streams().